/ Published in: jQuery
Expand |
Embed | Plain Text
$(el).live("mouseover mouseout", function(event) { if ( event.type == "mouseover" ) { // do something on mouseover $(this).css({'background-color':'#000','cursor':'pointer'}); }else{ // do something on mouseout $(this).css({'background-color':'#e0001a','cursor':'default'}); } });
You need to login to post a comment.
