Homepage:
http://foswiki.org/Extensions/JQueryPlugin
Author(s): Michael Daum
Version: 2.2
This is a simple way to render nice buttons in Foswiki.
It can be used to replace submit and reset buttons of html forms as well.
FamFamFamContrib is recommended to display nice icons
on buttons. Note, that this widget does not participate on the jquery
theme roller. This is independent.
Macros
Parameters
Examples
%BUTTON{
"%MAKETEXT{"Submit"}%"
icon="tick"
onclick="confirm('Are your sure?')"
}%
%BUTTON{
"%MAKETEXT{"Cancel"}%"
icon="cross"
target="%WEB%.%TOPIC%"
}% %CLEAR%
Note: BUTTONS are floating to the left by default. Take care to add a
%CLEAR%
after the
%BUTTON{...}%
so that further content does not overlap with the button.
Examples
OK
Cancel
Info
Add
Delete
Globe