You are here:
Foswiki
>
System Web
>
JQueryPlugin
>
JQueryButton
(13 Dec 2010,
ProjectContributor
)
(raw view)
E
dit
A
ttach
---+ %TOPIC% %JQPLUGINS{"button" format=" Homepage: $homepage <br /> Author(s): $author <br /> Version: $version " }% %STARTSECTION{"summary"}% 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. %ENDSECTION{"summary"}% ---++ Macros %INCLUDE{"VarBUTTON"}% ---++ Examples %BUTTON{"%MAKETEXT{"OK"}%" icon="tick" onclick="alert($(this).text());"}% %BUTTON{"%MAKETEXT{"Cancel"}%" icon="cross" onclick="alert($(this).text());"}% %BUTTON{"%MAKETEXT{"Info"}%" icon="information" onclick="alert($(this).text());"}% %BUTTON{"%MAKETEXT{"Add"}%" icon="add" onclick="alert($(this).text());"}% %BUTTON{"%MAKETEXT{"Delete"}%" icon="delete" onclick="alert($(this).text());"}% %BUTTON{"%MAKETEXT{"Globe"}%" icon="world_key" onclick="alert('foo')"}% %CLEAR%
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 - 13 Dec 2010,
ProjectContributor
System
Log In
or
Register
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
Webs
Cosmo
Main
Sandbox
System
English
Français
Polski
Copyright © CC-BY-SA by the contributing authors. All material on this collaboration platform is copyrighted under CC-BY-SA by the contributing authors unless otherwise noted.
Ideas, requests, problems regarding Foswiki?
Send feedback