Results 1 to 4 of 4

Free Advanced DHTML Color Picker

This is a discussion on Free Advanced DHTML Color Picker within the Web Design forums, part of the Web Designing & Development category; Free Advanced DHTML Color Picker Script to add on your site -------------------------------------------------------------------------------------- Put this Code into Your HTML <head> Section: ...

  1. #1
    Administrator Array SticKer's Avatar
    Join Date
    May 2007
    Posts
    3,700

    Default Free Advanced DHTML Color Picker

    Free Advanced DHTML Color Picker Script to add on your site

    --------------------------------------------------------------------------------------
    Put this Code into Your HTML <head> Section:
    <link rel="stylesheet" href="http://colourlovers.com.s3.amazonaws.com/COLOURloversColorPicker/COLOURloversColorPicker.css" type="text/css" media="all" />
    <script type="text/JavaScript" src="http://colourlovers.com.s3.amazonaws.com/COLOURloversColorPicker/js/COLOURloversColorPicker.js"></script>
    Put this Code into Your HTML <body> Section:
    <div id="CLCP" class="CLCP"></div>
    <script type="text/JavaScript">
    _whichField = "hexValue_0";
    CLCPHandler = function(_hex) {
    // This function gets called by the picker when the sliders are being dragged. The variable _hex contains the current hex value from the picker
    // This code serves as an example only, here we use it to do three things:
    // Here we simply drop the variable _hex into the input field, so we can see what the hex value coming from the picker is:
    document.getElementById(_whichField).value = _hex;
    // Here is where we color the BG of a div to preview the color:
    document.getElementById("CLCPUpdateDiv").style.bac kground = ("#" + _hex);
    // Giving you control over this function really puts the reigns in your hands. Rewrite this function as you see fit to really take control of this color picker.
    }
    // Settings:
    _CLCPdisplay = "none"; // Values: "none", "block". Default "none"
    _CLCPisDraggable = true; // Values: true, false. Default true
    _CLCPposition = "absolute"; // Values: "absolute", "relative". Default "absolute"
    _CLCPinitHex = "0039B3"; // Values: Any valid hex value. Default "ffffff"
    CLCPinitPicker();
    </script>
    --------------------------------------------------------------------------------------------------

    Source: http://www.colourlovers.com/blog/200...-color-picker/

    Buy / Sell / Trade Products and Services at our Webmaster Marketplace

    61 Ways To Drive Targeted Traffic To Your Website

  2. #2
    Senior Member Array msn90's Avatar
    Join Date
    May 2009
    Location
    india
    Posts
    146

    Thumbs up Re: Free Advanced DHTML Color Picker

    It is very good post. it is very helpful for me.
    Thanks for help me

  3. #3
    Senior Member Array akash's Avatar
    Join Date
    Oct 2008
    Location
    Heaven (Earth)
    Posts
    500

    Default Re: Free Advanced DHTML Color Picker

    It is very good useful post

  4. #4
    Junior Member Array
    Join Date
    Jan 2010
    Posts
    33

    Default Re: Free Advanced DHTML Color Picker

    Thanks for sharing.



Similar Threads

  1. RSS Feeds Color Change?
    By psunate1977 in forum Scripts & Content Management
    Replies: 1
    Last Post: 04-27-2011, 12:01 PM
  2. Free Web Directory Launched [accepting FREE submissions]
    By Andrew in forum Directory Solicitations & Announcements
    Replies: 8
    Last Post: 11-27-2008, 03:23 PM

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
  •  
SEO Forum | Web Hosting Forum | Websites For Sale |