[jQuery] can jquery handle onclick with mouseover
Can jquery handle mouseover, mouseout and onclick in one function. I
need a mouseover to change the image. I need to keep the image if the
image is clicked, and not, if the image is not clicked. I need to
clear the function if another image is clicked.
I have tried this code structure but no success. Any help would be
appreicated.
$(function() {
$("#fast").click(function(){linkOver('fast');view("hid1");
}).mouseover(function(){linkOver('fast')}).mouseout(function(){
if($(this)=="click"){
linkOver('fast');
}else{
linkOut('fast');
});
});
Frank