ok, I hope I solved the colorpicker issues now. It works on my local system with IE and Firefox.
Download here
There is one problem in IE - normally the changes a user made will immediatly applied to the specific pageelement. This will not work in IE, cause I manipulate the stylesheet directly with getProperty and setProperty (which IE
doesnt support). I will try a workaround with addRole and removeRole. Now you can add more information to the XML file. see the following example:
- Tip - is shown as tooltip
- name (attribute) - if set its used as label
- fname - this is used as filename prefix and must be unique
<element selector="body" name="Whole page" desc="Changes the color of the body" tip="Change the layout of your whole site here">
<attribute type="color" name="Backround Color" tip="Please set here the backgroundcolor of your whole site">background-color</attribute>
<attribute type="set" set="repeat;repeat-x;repeat-y;no-repeat">background-repeat</attribute>
<attribute type="image" fname="bodybg">background-image</attribute>
</element>
Post edited by: Stiggi, at: 2007/03/21 01:06