jBubble - demo

back to documentation page

Tooltips on www.map2fun.com is realized by this script.

usual setting-ups

for anchor or other element
    			$("#a").bubble();
    		
for its trigger
    			$("#b").click(function() {
    			$("#a").showBubble();
    			});
    		

Come on, find out what i can tell you!
Trigger for first link

setting up tooltips for anchors with "bubble" class and "title" attribute

tooltip for once

			$("#d").click(function() {
			$("#c").bubble(true);
			});
			

haha, click my trigger
Trigger for second link: show it only once!

ahchor#d was not initialized by bubble method, but it has a title attribute, which means it can be used to show a tooltip. Trigger for second link, when clicked, intialize it and show its tooltip......