Page 1 of 1

Is onMouseDrag event available in Javascript ?

Posted: Thu May 06, 2010 5:37 am
by siji86
Hi,

In one of my applications i need to rotate an image using the mouse, but the problem is that i am not able to identify the proper mouse Event, presently i have used onmousedown() event, but the effect is not proper.
Is onmousedrag avaliable in Javascript, because that might be the event. when i used onmousedrag event, the script couldnt recognize the event.
Any idea regarding how do i get this event.

Thanks in Advance.
:D

Re: Is onMouseDrag event available in Javascript ?

Posted: Thu May 06, 2010 9:26 am
by rnoack
you can't do this with javascript alone. you need dhtml or something else.