PDA

View Full Version : YUI color picker help



phpboy
04-12-2007, 07:21 AM
1) Script Title:
yui color picker
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex11/yuicolorpicker/index.htm
3) Describe problem:

I have installed this script in my site and work fine, however, I would like to make some changes to the script. My site uses frames and I would like the text field and the color box to appear in one frame( the left side) and the color picker to appear in the second frame. my site have two frames the left column and the second frame occupys the remaining space of the site.

If anyone can help, it would be appreciated.

ddadmin
04-12-2007, 11:41 AM
The solution is pretty simple, though there's bits of editting in various places. Basically what you need to do is edit ddcolorpicker.js, so any references to the text box and div fields are changed to target the frame in which they are moved to.

I've included yuicolorpicker.zip. Download and run frame.htm to see what I mean.