简体   繁体   中英

Show Tipsy tooltip without hover?

all. I made one form for registration, but I want to show the messages for errors in my tooltip Tipsy. For this I must made some function to show the tooltip without hover on the ID object. I try to add new parameter in the default options like this:

$.fn.tipsy.defaults = {
        delayIn: 0,
        without_hover: true... }

And second in this function $.fn.tipsy = function(options).... I add one check if the without_hover is true to show the tipsy like this:

if(options.without_hover == true) tipsy.show();

but it doesn't work. I will be happy on any solution. Thank you.

If you are using the tipsy plugin , the syntax for manually showing a tooltip is:

$(selector).tipsy("show");

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