Sunday, May 19, 2024
 Popular · Latest · Hot · Upcoming
24
rated 0 times [  27] [ 3]  / answers: 1 / hits: 19766  / 11 Years ago, tue, march 26, 2013, 12:00:00

For a particular case and element I need to show Bootstrap Tooltip by default (once the page is loaded) an always keep it open (even on mouseover and mouseout).



That's the code I use to open tooltip by default on the element:



$('#myelement').tooltip('show');


Now I'm not sure how to prevent/disable the default action of tooltip on mouseover & mouseout.
Any idea?



Thanks in advance!


More From » jquery

 Answers
9

Solution found. Manual Trigger does the trick - here is the updated code:



$('.taskTooltip').tooltip({trigger: 'manual'}).tooltip('show');

[#79363] Sunday, March 24, 2013, 11 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
natalyah

Total Points: 371
Total Questions: 90
Total Answers: 105

Location: The Bahamas
Member since Wed, Apr 12, 2023
1 Year ago
;