Parameter | Description | Default |
---|---|---|
"text" |
text to be put on this button | |
value |
text to be put on this button | |
accesskey |
access key used for this button | |
class |
extra class: use foswikiRight or foswikiLeft to specify aligment; use cyan , red , green for different background colors; use simple for a non-3D button |
|
href |
url of the click target | # |
icon |
icon to be put on the left; note, this can be any icon attached to the {IconSearchPath} ; see also VarJQICON |
|
id |
html id for this button | |
onclick |
javascript event triggered when clicking the button | |
onmouseout |
javascript event triggered when the pointer leaves the button | |
onmouseover |
javascript event triggered when the pointer hovers over the button | |
target |
topic to open when clicking on the button | |
title |
popup title displayed when hovering over the button | |
type |
type of action to be performed; available actions are
|
button |
%BUTTON{ "%MAKETEXT{"Submit"}%" onclick="confirm('Are your sure?')" }% %BUTTON{ "%MAKETEXT{"Cancel"}%" icon="cross" target="%WEB%.%TOPIC%" }% %CLEAR%
%CLEAR%
after the %BUTTON{...}%
so that further content does not overlap with the button.
26 Dec 2024 - 12:16 | Foswiki v2.0.2 |