Welcome to the homepage for this plugin! As you can see there are little what boxes kind of everywhere. Well, this is the script in action! Now, this script is released under the GPL, but all that info is in the archive that you download. But, onto the script! First off, some examples.
Basic Example
This is the most obvious use of the script. Get element(s) and add a tooltip.
Rollover
Rollover for some text!
Now, so you understand how to use it, I ofcourse need to explain the script to you. The full function is:
$('filter').addTooltip({
text: "Text here!!!",
width: 200,
side: 'top',
imgdir: './images',
removeOn: null,
useArrow: true
}
Now, to break it down...
Now, there is the exact div.
$.addTooltip({
text: "Text here!!!",
width: 200,
imgdir: './images',
removeOn: null,
position: {x: 0, y: 0}
}
Now, there is one more attribute that makes this one special
Because I am not perfect, bugs do exist in this code. Now, to make this IE6 compatible, I removed the ability for XHTML Strict. Thats not really a bug, but a fix would be nice!
Any other bugs just email me!