Dynamic content based Mouse Place Operations...
HTML Code:
11)
<html>
<body bgcolor="pink">
<br><br><br>
<center>
<body bgcolor="pink">
<br><br><br>
<center>
<h1 id="demo" onmouseover="mouseOver()" onmouseout="mouseOut()">Mouse over me<br> DHTML is FLEXIBLE!!!</h1>
</center>
<script>
function mouseOver() {
document.getElementById("demo").style.color = "blue";
document.getElementById("demo").style.size="7";
}
</center>
<script>
function mouseOver() {
document.getElementById("demo").style.color = "blue";
document.getElementById("demo").style.size="7";
}
function mouseOut() {
document.getElementById("demo").style.color = "green";
}
</script>
document.getElementById("demo").style.color = "green";
}
</script>
</body>
</html>
</html>
Comments
Post a Comment