Error: no such theme PatternSkinTheme
You are here:
Foswiki
>
System Web
>
JQueryPlugin
>
JQueryFarbtastic
(12 Feb 2010,
ProjectContributor
)
(raw view)
E
dit
A
ttach
---+ %TOPIC% %JQPLUGINS{"farbtastic" format=" Homepage: $homepage <br /> Author(s): $author <br /> Version: $version " }% %STARTSECTION{"summary"}% Farbtastic is a jQuery plug-in that can add one or more color picker widgets into a page. Each widget is then linked to an existing element (e.g. a text field) and will update the element's value when a color is selected. Farbtastic uses layered transparent PNGs to render a saturation/luminance gradient inside of a hue circle. No Flash or pixel-sized divs are used. There's a =color= formfield for easy integration into Foswiki DataForms. %ENDSECTION{"summary"}% ---++ Usage Add the class ==jqFarbtastic== to an input element that you want to attach the color selector to. The widget can be parametrized using [[JQueryMetadata][metadata]] inside the class attribute. ---++ Color Formfield With the farbtastic plugin comes a formfield type ==color= that lets you add one or more color formfields to %SYSTEMWEB%.DataForms. Try | *Name* | *Type* | *Size* | *Values* | *Tooltip message* | *Attributes* | | Color1 | color | 10 | | | | | Color2 | color | 10 | | | | | Color3 | color | 10 | | | | | Color4 | color | 10 | | | | To define a !PaletteForm with 4 colors. ---++ Examples %JQREQUIRE{"farbtastic"}% <input type="text" id="color" name="color" value="#123456" class="jqFarbtastic" />
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 - 12 Feb 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
Main
Sandbox
System
Testweb
Български
_jméno_jazyka
Dansk
Deutsch
English
Español
Suomi
Français
Italiano
日本語
한글
Nederlands
Norsk
Polski
Português
Português brasileiro
Русский
Svenska
简体中文
正體中文
Copyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki?
Send feedback