javascript - special closing method for tooltipster -
i want tooltipster-toolstip closed after 12 seconds in normal case (and have defined options that,) if user clicks tooltip should able stop closing process. tolltip should stay there twice time or can closed clicking cross in roght corner (like can also). set interactive: true, did not stop closing-process after 12000 ms.
$('.tooltip').tooltipster({ plugins: ['sidetip', 'scrollabletip'], position: 'bottom', contentashtml: true, animation: 'grow', interactive: true, delay: 400, interactive: true, trigger: (prev == 1) ? 'hover' : 'click', timer: 12000 });
i've got no experience implementing custom behavior. help? kind regards peter
Comments
Post a Comment