Комментарии:
to the left to the left, everything you code in a box -=40px to the left
ОтветитьIt's good.
ОтветитьIt's good.
ОтветитьJavascript should change it's name to curly bracket hell. CBH for short.
Ответитьthanks a lot :)
ОтветитьYou are awesome👏✊👍, million thanks to you. Great👍 job.
ОтветитьGREAT-short and simple - INstructions.
ОтветитьVery helpfull tutorials Thanks SIR
Ответитьvery good, Thank you, sir.
Ответить<!DOCTYPE html>
<html>
<head>
<title>Moja prva PHP forma</title>
<meta charset="UTF-8"/>
</head>
<body>
<h1>Forma za pozdrav</h1>
<?php
// submitane varijable nalaze se u asocijativnom polju $_POST
// (ako se koristi post) ili $_GET (ako se koristi get)
if (isset($_POST['ime']) && $_POST['ime'] !== '') {
$_SESSION["ime"] = $_POST["ime"];
}
if(isset($_POST["boja"]) && $_POST["boja"] !== '') {
$_SESSION["boja"] = $_POST["boja"];
}
if(isset($_SESSION["ime"]) && $_SESSION["ime"] !== '') {
if (isset($_SESSION["boja"]) && $_SESSION["boja"] !== '') {
echo "<p style='color:".$_SESSION["boja"]."'>Pozdrav, ". $_SESSION["ime"] ."</p>";
} else {
echo "<p>Upišite ime i boju...</p>";
echo '<form action="zadatak_3.php" method="post">
<input type="text" name="ime" placeholder="ime..." />
<input type="text" name="boja" placeholder="boja..."/>
<input type="submit" value="Prijavi se"/>
</form>';
}
}
else {
echo "<p>Upišite ime i boju...</p>";
echo '<form action="zadatak_3.php" method="post">
<input type="text" name="ime" placeholder="ime..." />
<input type="text" name="boja" placeholder="boja..."/>
<input type="submit" value="Prijavi se"/>
</form>';
}
?>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
<script>
var brojac = 0;
function rotiraj() {
var slika = document.getElementById("slika");
var listaSlika = [
"slika1.jpg",
"slika2.jpg",
"slika3.jpg"
];
brojac++;
if(brojac >= listaSlika.length) {
brojac = 0;
}
slika.src = listaSlika[brojac];
}
function kojaSlika() {
var slika = document.getElementById("slika");
alert(slika.getAttribute('src'));
}
</script>
</head>
<body>
<a href="#" onclick="rotiraj()">Promjeni sliku</a>
<a href="#" onclick="kojaSlika()">Koja je ovo slika?</a>
<div><img id="slika" src="slika1.jpg"></div>
</body>
</html>
Круто!
ОтветитьThis whole course is so helpful - thank you so much!
Ответитьthank you man
ОтветитьJust too good .. thank you!
ОтветитьA very educative video thanks!
Ответитьcool
ОтветитьExcellent Tutorials Thanks!
ОтветитьYou are a good teacher, I like your style and speed, thanks a lot for the video :)
ОтветитьVery clearly explained, and I learned something, the -= and +=. I didn't know that, so thanks for your insight.
Opacity is the opposite of transparency. So, an opacity of 1 means that it is not transparent at all. You cannot see through it. But an opacity of 0 means you can see right through it. It is completely transparent.
I think the reason why jQuery uses backgroundColor and not background-color is because you are in a .js file and the "-" is a minus the same as x-y.I think in general every css syntax can simply transformed into js by just removing the "-" and make the first letter of the syntax uppercase(the first word you leave unchanged).I might be wrong though.
ОтветитьДякую
ОтветитьHi, I cannot receive your course files..... I received your Email, i press the button - and than nothing (the action is allowed - and i have try with 2 browsers).
?
I need to use same header and footer for all html from index.html using jquery
ОтветитьNever thought of this before.Nice.
ОтветитьYou explain very clear!
thanks!