Color picker/palette element

Discussion in 'JavaScript' started by parantox, Sep 4, 2009.

  1. #1
    Hello everybody,

    I want to have a color picker element inside a page. Either that, or a list box that when clicked will show the color palette.

    Do you know any other way to this except using controls such as the YUI ones? I would like something that can also work offline, that's the reason.

    Is there any way to make the color palette pop up when the list box is clicked using JavaScript methods?

    Thanks in advance.
     
    parantox, Sep 4, 2009 IP
  2. caprichoso

    caprichoso Well-Known Member

    Messages:
    433
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    110
    #2
    caprichoso, Sep 5, 2009 IP
  3. parantox

    parantox Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    And I thought I had seen them all... :p

    Pretty much yes.I think I need to customize it somewhat in order to make it change another element's color.

    Thanks caprichoso :)
     
    parantox, Sep 5, 2009 IP
  4. caprichoso

    caprichoso Well-Known Member

    Messages:
    433
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    110
    #4
    No problem. If you google "javascript color picker" you'll find a lot of samples.
     
    caprichoso, Sep 5, 2009 IP
  5. parantox

    parantox Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Hey again,

    The color picker works great, but I would now like to add a font-picker control. You know, the typical listbox that contains the fonts that are available in the user's system.

    I've searched quite enough but haven't found something in the form of a script. Does anybody have a suggestion? If not, are there any ideas as to how to obtain the system's fonts inside a listbox?

    Thanks again.
     
    parantox, Oct 28, 2009 IP
  6. caprichoso

    caprichoso Well-Known Member

    Messages:
    433
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    110
    #6
    caprichoso, Oct 28, 2009 IP
  7. parantox

    parantox Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Thanks again for bothering to look for it, caprichoso. The truth is I had come across that one before I decided to post.

    It doesn't really suit me because I cannot embed it to the website I'm building.

    I'll work on making one for me, if I don't find something else. Any suggestions are welcome.
     
    parantox, Oct 28, 2009 IP
  8. caprichoso

    caprichoso Well-Known Member

    Messages:
    433
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    110
    #8
    If you lookup "javascript font picker" in Google you will see a couple of paid alternatives. Not too expensive anyway.
     
    caprichoso, Oct 29, 2009 IP