Jump to content

Archived

This topic is now archived and is closed to further replies.

xrado

mouseover and check if mousedown

Recommended Posts

let's say i wana do something onmouseover="somefunction(this)"

how do i check if mouse button is pressed down in function somefunction(this) ?

Share this post


Link to post
Share on other sites
I assume that you want do something when someone clicks on something. Try onClick property. like
onClick="somefunction(this);"

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.