Ste
Ste

Reputation: 1520

jQuery TOOLS Tooltip trigger event

I, using Tooltip from jQuery TOOLS. I need to trigger tooltip from other a link, How can I do it? I have this:

<a href="#" id="open-tooltip1">1</a><a href="#" id="open-tooltip2">2</a>

<img id="san-paulo" title="San Paulo" class="point" src="img/siti_point.png" />
<img id="madrid" title="Madrid" class="point" src="img/siti_point.png" />

$("#map img[title]").tooltip();

Upvotes: 0

Views: 2253

Answers (1)

karim79
karim79

Reputation: 342775

Just a guess, but maybe you just need to fire the mouseover event for the tooltipped element?

$("#someLink").click(function() {
    $("#tooltip").mouseover();
});

Upvotes: 1

Related Questions