jquery popup image
I am looking for j开发者_运维百科query script of popping up an image onmouseover.. i did this using javascript but it is not browser supportive.. so looking for jquery script.. Thanks
use hover
$("#hoverable_container").hover(
function(){
$("#imageid").show();
},
function(){
$("#imageid").hide();
}
);
jQuery's hover method works well for this, but that's already been answered. I'd recommend using the HoverIntent plugin instead, though, as this won't cause issues such as this. The only diference between the two is the overhead to load the HoverIntent plugin and calling the method as:
$("#hoverable_container").hoverIntent(
// functions here
);
精彩评论