JQuery popup image

I'm looking for a jquery script to pop up an onmouseover image .. I did it with javascript but it doesn't support the browser .. so looking for a jquery script .. Thanks

+2


a source to share


2 answers


use hover



$("#hoverable_container").hover(
    function(){
        $("#imageid").show();
    },
    function(){
        $("#imageid").hide();
    }
);

      

+2


a source


The jQuery hover method works well for this, but this has already been answered. I would recommend using the HoverIntent plugin instead , as it won't cause problems like this . The only difference between the two is the overhead of loading the HoverIntent plugin and calling the method like:



$("#hoverable_container").hoverIntent(
    // functions here
);

      

+1


a source







All Articles