#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 | (browser default) | =size="12"= | | =class= | CSS class of input field | (none) | =class="twikiInputField"= | | Additional parameters can be supplied; they will be added to the HTML input field. ||||%ENDSECTION{parameters}% * Example: %BR% =<form action="...">= %BR% =%<nop>COLORPICKER{ name="text_color" size="12" value="#123456" class="twikiInputField" }%= %BR% =<form>= * Category: ApplicationsAndComponentsVariables, DatabaseAndFormsVariables, EditingAndContentUpdateVariables, FormattingAndRenderingVariables, UIAndVisualizationVariables * Related: ColorPickerPlugin, %SYSTEMWEB%.TWikiForms
This topic: TWiki
>
WebHome
>
TWikiVariables
>
VarCOLORPICKER
Topic revision: r1 - 2012-12-04 - TWikiContributor
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
.