user4455111
user4455111

Reputation:

I want a specific Tooltipster tooltip to be open on page load

I have inherited a website to update. It is using the Tooltipster jQuery plugin. The page has a number of tooltips but I would like to set a specific tooltip to be open when the page is loaded.

This is the code:

<script>
var js = $.noConflict();
        js(document).ready(function() {
            js('#1961Class2-tag1').tooltipster({
   animation: 'fade',
   delay: 100,
   theme: 'tooltipster-shadow',
   touchDevices: true,
   interactive: true,
   trigger: 'hover',
                content: $('<span><p>I want this tooltip to be open on page load</p></span>')
            });
        });
</script>

Any help greatly appreciated.

Thank you

Upvotes: 0

Views: 21

Answers (0)

Related Questions