Results 1 to 2 of 2

Thread: Question:about YUI Color Picker script

  1. #1
    Join Date
    Jul 2007
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Lightbulb Question:about YUI Color Picker script

    1) Script Title: YUI Color Picker

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...uicolorpicker/

    3) Describe problem: Question


    Hello All

    I want to change the color of an object when the color change in the color Picker, is this possible..!
    becuase I want to change the background color of an image (PNG) direct when the color change in the color Picker.

    thank you all in advanced.

  2. #2
    Join Date
    Jul 2007
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I solve it.


    write
    Code:
    document.getElementById("tshirt").style.backgroundColor = "#" + hexvalue;
    at the end of pickerSwatchUpdate() function in Html Page



    thank you

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
  •