Prototip
Prototip allows you to easily create both simple and complex tooltips using the Prototype javascript framework.
Hooking allows you to place your tooltips anywhere in relation to your target elements. The concept is simple, you define two corners that you want to 'hook' to eachother. One on the target element, the other one on the tooltip.
Tooltips can be styled using CSS. The CSS file prototip.css shows a few examples on how to do this. The default class used by prototip is 'default', you can overwrite this class with your own by using the className option.
You can also automatically add a tooltip to every link in the page by using it's rel attibute. Here's how to do this after the page has finished loading.
For updates, grab the update feed
Related categories:
Comments? Need help with a component? Use our forums for further discussions.
Posted on the 5th of March at 6:15 pm

