Closed jgill333 closed 10 years ago
I guess you could do something like:
$('.fakeClass').toggleClass('hint--always'); // toggle hint visibility
$('.fakeClass').addClass('hint--always'); // show hint
$('.fakeClass').removeClass('hint--always'); // hide hint
Thanks! Ended up using a version like this:
setTimeout(function(){
$('.fakeClass').toggleClass('hint--always');
}, 300);
I am trying to find a way to show a hint.css after N milliseconds using JavaScript's setTimeout function. I may be missing something, but the steps described in this issue, https://github.com/chinchang/hint.css/issues/67, are not working for showing the hint tooltip (even without the timing related ask).
How would I show a tooltip for an element like the one below? This is not working.
This seems like it would help other people wanted to do a similar task as well and any help would be greatly appreciated.
Thanks!