[Show/Hide Right Column]

Display hidden content by mousing over a link
Print

Plugin Mouseover

Use this Wiki Plugin to display hidden content by mousing over a link.

This plugin is bundled starting in version 3.0. Before that it was in mods, which can also be reached by going to Admin > Admin Mods.

Old versions of the plugin were using the parameter text and were based on the library overlib

Examples

A Simple Mouseover

Code
Result
simple
{MOUSEOVER(label="Hello")}Hello over there. It's fine!{MOUSEOVER}
HelloHello over there. It's fine!

A Distant Sticky Mouseover

Code
Result
sticky
MOUSEOVER(label="sticky", sticky=y,offsetx=200, parse=y)}This is a __sticky__ popup{MOUSEOVER}
stickyThis is a sticky popup

Parameters

Parameter Accepted values Default Description Required? Since
url a valid url none destination link when mouseover text is clicked n
text text none If label is set, may be used instead of the body as the content that pops up upon mouseover. If there is a body and label isn't set, then this will be the text that pops up. either text or label is required
label text none the label of the link that is moused over either text or label is required 3.0
parse y or n y Set to n to keep text from being wiki-parsed n 3.0
sticky y or n n the popup will be displayed until clicked n
width number 400 width of the popup in pixels n
height number 200 height of the popup in pixels n
offsetx number 5 right offset of the popup from the left border of the label n
offsety number 0 downward offset of the popup from the top border of the label n
bgcolor valid color name or code
(example: red or #FFFFFF)
none popup background color n
textcolor valid color name or code
(example: red or #FFFFFF)
none popup text color n
class CSS class plugin-mouseover CSS style class for the popup n 4.0
padding number 5 padding for the popup box in pixels n 4.0
effect Default
None
Slide
Fade
Default Show/hide animation effect for the popup box n 4.0
if the JQuery UI featureat Admin - Look & Feel - UI Effects (tab) is set:
Blind
Clip
Drop
Explode
Fold
Puff
Slide
speed Normal
Fast
Slow
Normal speed at which popup appears and disappears n 4.0
closeDelay number 0 Number of seconds before popup closes n 5.0


Contributors to this page: lindon2331 points  , system , sylvie4333 points  , smudley2 points  , Marc Laporte5511 points  , Jürgen Heckes471 points  and gezza500 points  .
Page last modified on Sunday 14 March, 2010 15:40:06 UTC by lindon2331 points .

Find by Page Name

Exact match

Keywords

The following is a list of keywords that should serve as hubs for navigation within the Tiki documentation and should correspond to development keywords (bug reports and feature requests):