---+ %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%
This topic: System
>
JQueryPlugin
>
JQueryButton
Topic revision: revision 1 (raw view)
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