Results 1 to 2 of 2

Thread: YUI color picker help

  1. #1
    Join Date
    Apr 2007
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy YUI color picker help

    1) Script Title:
    yui color picker
    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...cker/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.

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •