* fixed bug that prevented colorpicker from working at all * fixed bug that prevented display of colors that are changed but not saved * <% colorpicker name="xyz" %> now renders the default colorpicker * <% colorpicker name="xyz" skin="colorpickerExt" %> renders the extended version (or any other depending on the skin) * modified site's edit.skin to open the extended version * put client-side scripts and functionality into global Antville object to define a strict namespace * updated AntvilleLib NOTE: THIS IS STILL WORK IN PROGRESS
1 line
358 B
Text
1 line
358 B
Text
<% param.editor %> <img src="<% image as="url" name="/pixel" %>" width="13" height="13" alt="" title="Click to pick the <% param.text %> color" onclick="Antville.ColorPicker.open('<% param.name %>', '<% param.text %>', '<% param.skin %>');" id="Antville_ColorPicker_<% param.name %>" class="colorpickerWidget" style="background-color: <% param.color %>;" />
|