简体   繁体   中英

jQuery tooltip with links

How to make pop-up window with links to hover like a normal tooltip just a mouse could click on the links. How can this be done? mouseenter loses focus when navozhu on the link and the window closes

jQuery(document).ready(function(){

jQuery("span.mod_events_daylink_evn").live('mouseenter',function(){
        jQuery("span#"+cone).append(jQuery("div#"+newdiv));
            jQuery("div#"+newdiv).css("display","block"); 
}); 

jQuery("div.eeee").live('mouseout',function(){ 
     jQuery("div.eeee").css("display","none");
     });

}); 

try qtip a jquery plugin http://craigsworks.com/projects/qtip2/

update by thomas guettler: updated URL, qtip2 instead of qtip.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM