You will recieve your password to this address. Address is not made public.

Your preferred username that is used when logging in.

Tooltip not placed after the trigger element Created Aug 10, 2010

This thread is solved

Views: 1113     Replies: 1     Last reply Aug 17, 2010  
You must login first before you can use this feature

cather

Posts: 1

Registered:
Aug 10, 2010

Tooltip not placed after the trigger element

Posted: Aug 10, 2010

I do not want to place my tooltip after the trigger element but it says in the demo "by default, this tool assumes that the tooltip is placed right after the trigger element." Is there a way to change this?

randyfyfe

Posts: 17

Registered:
Aug 17, 2010

» Tooltip not placed after the trigger element

Posted: Aug 17, 2010

Reply to: Tooltip not placed after the trigger element, from cather
I am assuming you are using the HTML variant, opposed to the title attribute. Correct me if I am wrong and I will adjust my response.

There is a poorly document "tip" attribute for .tooltip().

look at it work here:http://flowplayer.org/tools/demos/tooltip/table.html

specify the tip attribute to a css selector that will target the div containing the tooltip. On the page linked above, they have a div with an id of "tooltip" then they add the tip attribute to the .tooltip() function call of tip: "#tooltip".

you can make the id as anything you want, aslong as it matches the tip: attribute.

this effectively allows multiple different tooltips on your page. I like to stuff the html tooltip hidden divs at the bottom of my page whenever possible.