Ive noticed that if i mouse-down on a button, move my pointer from the button area, then return to it without releasing the button it still remembers that i have 'mouse-downed' on the button.
Im trying to set button styles appropriatly, could anyone enlighten me as the correct javascript/jquery event to use for this?
I would really hate to use some sort of counter for this.
EDIT: OK current hacky solution;
Global called hotbutton
$('.thisbutton').onmouseenter{if (hotbutton='thisbutton'){drawmousedowntheme();}}
$('.thisbutton').onmousedown{hotbutton='thisbutton';drawmousedowntheme();}
$(document).onmouseup{hotbutton=''}