You are here:
BACCHUS Wiki
>
System Web
>
JQueryPlugin
>
JQueryTooltip
(revision 1) (raw view)
---+ %TOPIC% %JQPLUGINS{"tooltip" format=" Homepage: $homepage <br /> Author(s): $author <br /> Version: $version " }% %STARTSECTION{"summary"}% Display a customized tooltip instead of the default one for every selected element. Tooltips can be added automatically to any element that has got at =title= attribute thus replacing the standard tooltip as displayed by the browsers with a customizable one. Content can be reloaded using AJAX. For example, this can be used to display an image preview in a tooltip. Have a look at the thumbnail REST service of Foswiki:Extensions/ImagePlugin how to load the thumnail from the backend dynamically. %ENDSECTION{"summary"}% ---++ Examples %JQREQUIRE{"tooltip"}% <div class="jqTooltip"> All elements with a <i title="I've got a title">title attribute</i> in here get a tooltip. Options can be given using metadata inside the class attribute like this: <verbatim class="html {extraClass:'bubble', fade:'true'}" title="Help: How to pass arguments to the jquery.tooltip plugin"> <div class="{extraClass:'bubble'}" title="Help: How to pass arguments to the jquery.tooltip plugin"> Hover me. </div> </verbatim> </div>
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
Edit
w
iki text
|
M
ore topic actions
Topic revision: r1 - 12 Feb 2010,
ProjectContributor
System
Log In
Toolbox
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
User Reference
BeginnersStartHere
TextFormattingRules
Macros
FormattedSearch
QuerySearch
DocumentGraphics
SkinBrowser
InstalledPlugins
Admin Maintenance
Reference Manual
AdminToolsCategory
InterWikis
ManagingWebs
SiteTools
DefaultPreferences
WebPreferences
Categories
Admin Documentation
Admin Tools
Developer Doc
User Documentation
User Tools
Copyright &© by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding BACCHUS Wiki?
Send feedback