FF1+ IE6+ Opr8+

ColorJack DHTML color picker

Author: ColorJack

Description: ColorJack DHTML color picker is a cross browser, sleek color picker that's compact to boot. Licensed under Creative Commons, use it on your sites or web apps.

Demo:

Your color selection

Show/ hide Color Picker


Directions: Simply download colorjack.zip, and refer to the HTML page inside. The zip file contains the following files:

FYI, the function to edit to customize the action to take when a color has been chosen is mkColor() inside the page:

function mkColor(v){
//** In this case, just update DIV with ID="colorbox" so its background color reflects the chosen color
$S('colorbox').background='#'+v;
}

In the demo, the script merely changes the background color of a DIV called "colorbox" to that of the chosen color. The function $S() is merely a time saving function to accessing an element on the page by its ID, and is no different from going the route of document.getElementById("colorbox") instead.

Enjoy!

Wordpress Users: Step by Step instructions to add ANY Dynamic Drive script to an entire Wordpress theme or individual Post
F1FFCC
X