<html>
<head>
<script type="text/javascript">
var i=1;
function moveleft()
{
document.getElementById('header').style.position="relative";
document.getElementById('header').style.right=i;
i++;
}
</script>
</head>
<body onmousemove="moveleft()">
<h1 id="header">
Movement with mouse crawl
</h1>
</body>
</html>
No comments:
Post a Comment