Example 9: Relative Positioning

Now we have really deviated from the idea of a tooltip, since this feature can put the tooltip in any location, relative to the parent under which it is appended. Hence we can literally add more html anywhere on the page. Fly over this form and see how the help box comes up below it, as if it were tagged onto the bottom of it.

Registration
Username:
E-mail:

Note: If you want to get this same affect, but without the movement, you need to pass in the x and y coordinates where you want the tooltip to appear by using the offsetLeft and offsetTop of your target element.

«Example 8
Example 10»