PDA

Click to See Complete Forum and Search --> : it doing it just 1 time


lirlir
Jul 11th, 2000, 08:22 AM
i wrote this code, but it is execute only 1 time.
what do i need to chang or add

function document_onmousemove() {
var x;
var y;

x=window.event.x;
y=window.event.y;

document.write(x+"."+y);
}
//-->
</SCRIPT>
<SCRIPT LANGUAGE=javascript FOR=document EVENT=onmousemove>
<!--
document_onmousemove();
//-->
</SCRIPT>


thanks

Ianpbaker
Jul 11th, 2000, 08:54 AM
Hi lirlir

I cant see what the problem is myself but try checking this page it does the same as you want and it works fine

http://msdn.microsoft.com/workshop/samples/author/dhtml/refs/onmousemoveEX.htm

Sorry I couldn't be any more help

Ian