tags:

views:

383

answers:

2
+2  Q: 

jquery popup image

Hello Folks., I am looking for jquery script of popping up an image onmouseover.. i did this using javascript but it is not browser supportive.. so looking for jquery script.. Thanks

+2  A: 

use hover

$("#hoverable_container").hover(
    function(){
        $("#imageid").show();
    },
    function(){
        $("#imageid").hide();
    }
);
Galen
+1  A: 

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
);
Zack