Display hidden content by mousing over a link
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
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 |
|---|---|---|---|---|---|
| ur |
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: lindon
,
gezza
,
smudley
,
jh
,
marclaporte
,
sylvie
and
system
.
Page last modified on Sunday 14 March, 2010 15:40:06 UTC by lindon
.
Sidebar
Sidebar
To register
To have an account at this site, please register at Tikiwiki.org
, and then use that user name and password to log in here.
