Learn To Program
Increase Your Knowlegde and Build Your Skill!
Pages
(Move to ...)
Home
Me
▼
Friday, February 4, 2011
Detecting Cursor Position
<div id="satu">Lola</div>
<script>
document.onmousemove = function(e){
document.getElementById('satu').innerHTML = e.pageX+":"+e.pageY;
};
</script>
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment