Tags:
MeVCube
tag this topic
create new tag
view all tags
#VarCOLORPICKER ---+++ COLORPICKER{} -- color picker for use in HTML forms for TWiki applications * The =%<nop>COLORPICKER{}%= variable is handled by the ColorPickerPlugin. * Syntax: =%<nop>COLORPICKER{ name="..." value="..." }%= * Parameters:%STARTSECTION{parameters}% | *Parameter* | *Description* | *Default* | *Example* | | =name= | Name of input field | (required) | =name="text_color"= | | =value= | Initial color value, in hexadecimal notation for the combination of Red, Green, and Blue color values (RGB). | (none) | =value="#0000ff"= | | =size= | Size of input field, in number of characters | (browser default) | =size="8"= | | =class= | CSS class of input field or the rectangular color block | (none) | =class="twikiInputField"= | | =style= |Style of input field or the rectangular color block | (none) | =style="width: 190px; height: 32px"= | | =type= | Type of color widget:%BB% ="below"= - color picker is located below the input field;%BB% ="popup"= - pop-up a color picker window when clicking the button next to the input field %BR% (this uses very little vertical space);%BB% ="view"= - a read-only rectangular block colored in the color value (no color picker);%BB% ="view-hex"= - like =view=, in addition shows the color value as an RGB hexadecimal code (no color picker); | =type="below"= | =type="view-hex"= | | Additional parameters can be supplied; they will be added to the HTML input field or the rectangular color block. ||||%ENDSECTION{parameters}% * Example: %BR% =<form action="...">= %BR% =%<nop>COLORPICKER{ name="text_color" value="#123456" class="twikiInputField" type="popup" }%= %BR% =<form>= %BR% Renders as: %BR% <form> %COLORPICKER{ name="text_color" value="#123456" class="twikiInputField" type="popup" }% </form> * Category: ApplicationsAndComponentsVariables, DatabaseAndFormsVariables, EditingAndContentUpdateVariables, FormattingAndRenderingVariables, UIAndVisualizationVariables * Related: ColorPickerPlugin, %SYSTEMWEB%.TWikiForms
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r2
<
r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r2 - 2014-12-30
-
TWikiContributor
Home
Site map
Main web
TWiki web
TWiki Web
User registration
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
User Reference
ATasteOfTWiki
TextFormattingRules
TWikiVariables
FormattedSearch
QuerySearch
TWikiDocGraphics
TWikiSkinBrowser
InstalledPlugins
Admin Maintenance
Reference Manual
InterWikis
ManagingUsers
ManagingWebs
TWikiSiteTools
TWikiPreferences
WebPreferences
Categories
Admin Documentation
Admin Tools
Developer Doc
User Documentation
User Tools
Account
Log In
----- Bookmarks -----
Bookmark this page...
E
dit
A
ttach
Copyright © 1999-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback
Note:
Please contribute updates to this topic on TWiki.org at
TWiki:TWiki.VarCOLORPICKER
.