You are here:
BACCHUS Wiki
>
System Web
>
JQueryPlugin
>
JQueryButton
(revision 1) (raw view)
---+ %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
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
Copyright &© by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding BACCHUS Wiki?
Send feedback