Take a look at:
http://platform.xwiki.org/xwiki/bin/download/DevGuide/API/xwiki-core-1.8-rc…
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/x…
*()
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%3D…
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 <
jadhav.dilipkumar(a)gmail.com> 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
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users