Menu
please look at the following code:
function don()
{
if(event.srcElement.className== ‘myClass’&& event.button==1 )
{
event.srcElement.style.pixelLeft = event.x;
//event.srcElement.style.pixelTop = event.clientY;
}
}
//–>
</script>
</HEAD>
<body onmousemove=”don()” MS_POSITIONING=”GridLayout”>
</body>
It is so that the usr can move the element witv the mouse. Why does it go only to the right? Please help with a simple code