Take a look at: http://platform.xwiki.org/xwiki/bin/download/DevGuide/API/xwiki-core-1.8-rc-1-javadoc.zip/com/xpn/xwiki/api/XWiki.html
java.lang.String *addTooltip<http://platform.xwiki.org/xwiki/bin/download/DevGuide/API/xwiki%2Dcore%2D1.8%2Drc%2D1%2Djavadoc.zip/com/xpn/xwiki/api/XWiki.html#addTooltip%28java.lang.String,%20java.lang.String%29> *(java.lang.String html, java.lang.String message) Inserts a tooltip using toolTip.js java.lang.String *addTooltip<http://platform.xwiki.org/xwiki/bin/download/DevGuide/API/xwiki%2Dcore%2D1.8%2Drc%2D1%2Djavadoc.zip/com/xpn/xwiki/api/XWiki.html#addTooltip%28java.lang.String,%20java.lang.String,%20java.lang.String%29> *(java.lang.String html, java.lang.String message, java.lang.String params) Inserts a tooltip using toolTip.js java.lang.String * addTooltipJS<http://platform.xwiki.org/xwiki/bin/download/DevGuide/API/xwiki%2Dcore%2D1.8%2Drc%2D1%2Djavadoc.zip/com/xpn/xwiki/api/XWiki.html#addTooltipJS%28%29> *() Inserts the tooltip Javascript Also, see http://curriki.org for an example of a site using tooltips, e.g. note the popups over the document names in http://www.curriki.org/xwiki/bin/view/Search/#o%3As%3Ds%253Aresource%5Ef%3Do%253Aresource%253Do%25253Asubjectparent%25253Ds%2525253AFW_masterFramework.Science%25255Esubject%25253Ds%2525253AFW_masterFramework.Science%25255Ecategory%25253Ds%2525253A%25255Elevel%25253Ds%2525253A%25255Elanguage%25253Ds%2525253A%25255Ereview%25253Ds%2525253A%25255Eictprfx%25253Ds%2525253A%25255Eict%25253Ds%2525253A%25255Especial%25253Ds%2525253A%255Egroup%253Do%25253Asubjectparent%25253Ds%2525253A%25255Esubject%25253Ds%2525253A%25255Elevel%25253Ds%2525253A%25255Elanguage%25253Ds%2525253A%25255Epolicy%25253Ds%2525253A%255Emember%253Do%25253Asubjectparent%25253Ds%2525253A%25255Esubject%25253Ds%2525253A%25255Emember_type%25253Ds%2525253A%25255Ecountry%25253Ds%2525253A%255Eblog%253Do%25253A%255Ecurriki%253Do%25253A%5Ep%3Do%253Aresource%253Do%25253Ac%25253Dn%2525253A0%25255Es%25253Dn%2525253A25%255Egroup%253Do%25253Ac%25253Dn%2525253A0%25255Es%25253Dn%2525253A25%255Emember%253Do%25253Ac%25253Dn%2525253A0%25255Es%25253Dn%2525253A25%255Eblog%253Do%25253Ac%25253Dn%2525253A0%25255Es%25253Dn%2525253A25%255Ecurriki%253Do%25253Ac%25253Dn%2525253A0%25255Es%25253Dn%2525253A25%5Et%3Ds%253Asearch-resource-tab%5Ea%3Do%253Aresource%253Do%25253Aa%25253Db%2525253A1 Warning -- there is a potentially significant performance penalty for adding tooltips. For one, even if you don't need to display any tooltip text (or it's from a long document and might never be displayed as it's scrolled off screen), it's all loaded into the browser. Niels http://nielsmayer.com On Sat, Feb 28, 2009 at 8:29 AM, Dilipkumar Jadhav < [email protected]> wrote: > Hello friends, > I am here to request help on embedding a balloon styled tooltip in our > XWiki instance. > I have had a fair amount of success in embedding various third party > javascript libraries, however, the ones that depend on jquery do not > seem to work through XWiki. > I did go through an article which guides us through creating tooltips > and custom validations in forms. Our requirement, however, is to have > a balloon styled tooltip that can hold images, text (generally info) > about the link that the user is about to visit if s/he were to click > on it. Our users are having a hard time navigating the pages since > they move from page to page assuming that the next page that they are > about to visit is the one where they will find their answers. > It is also not possible to load the current page with too much info > about the links that they are about to visit (as this will lead to > cluttered pages). > Could someone be kind enough to guide me through embedding a tooltip > that "pops-up" when the user hovers the mouse over a link. Or maybe > there is plugin for it already which i might have missed. > Thank you for your time and interest friends. > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users > _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
