Is onMouseDrag event available in Javascript ?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
siji86
Forum Commoner
Posts: 30
Joined: Fri Mar 26, 2010 6:15 am

Is onMouseDrag event available in Javascript ?

Post 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
rnoack
Forum Commoner
Posts: 34
Joined: Mon May 03, 2010 12:38 am

Re: Is onMouseDrag event available in Javascript ?

Post by rnoack »

you can't do this with javascript alone. you need dhtml or something else.
Post Reply