{
"info": {
"author": "4teamwork GmbH",
"author_email": "mailto:info@4teamwork.ch",
"bugtrack_url": null,
"classifiers": [
"Framework :: Plone",
"Framework :: Plone :: 4.1",
"Framework :: Plone :: 4.2",
"Framework :: Plone :: 4.3",
"License :: OSI Approved :: GNU General Public License (GPL)",
"Programming Language :: Python",
"Topic :: Software Development :: Libraries :: Python Modules"
],
"description": "Introduction\n============\n\nWith ``ftw.tooltip`` you are able to dynamically add tooltips to every DOM\nelement, which is selectable by jQuery and allows the title attribute.\n\n.. figure:: http://onegov.ch/approved.png/image\n :align: right\n :target: http://onegov.ch/community/zertifizierte-module/ftw.tooltip\n\n Certified: 01/2013\n\n\nInstalling\n==========\n\nAdd ``ftw.tooltip`` to your buildout configuration:\n\n::\n\n [instance]\n eggs =\n ftw.tooltip\n\nImport ``ftw.tooltip`` default profile.\n\n\nUsage\n=====\n\nBasically you have to register named ``ITooltipSource`` adapters.\nThey will be queried by a view, which generates the necessary JS code.\n\nThere are two example tooltip-source adapter, to show how they work\n\n- Static text example.\n- Dynamic text example, which reads the title attribute of the selected DOM element.\n\nYou can load both examples on your site by register the following adapters::\n\n >>> from ftw.tooltip.demo_tooltip_source import (DemoStaticTooltipSource,\n ... DemoDynamicTooltipSource)\n >>> from zope.component import provideAdapter\n >>> provideAdapter(DemoStaticTooltipSource, name=\"demo1\")\n >>> provideAdapter(DemoDynamicTooltipSource, name=\"demo2\")\n\n\nOr if you are using zcml::\n\n