New on DHTMLGoodies.com:

DHTML Chess Wordpress Plugin (Beta) . Participate in the beta testing of the DHTML Chess for WordPress plugin, and receive a free Commercial License worth USD99.

jscolor

Submitted script - Author: jscolor.com

Bookmark and Share

About

This great script from jscolor.com makes it easy for your users to pick colors for input fields on your web page/web application.

When the input field receives focus, a color palette will appear below it. Now, you can choose to type in the color value as before, or you can set it by clicking on the palette.

Also notice that background color of the input field will change according to your color value. It's also nice to see that if you choose a dark color, the text color will change from black to white.

Setup

The installation is very easy. All you have to do is to add a SCRIPT tag where you refer to jscolor.js and then assign your input fields to the class "color".

Example:

<script type="text/javascript" src="jscolor/jscolor.js"></script>
<input class="color">

Demo

This is how it looks when I implement the code above:

Please pick your favourite color:

Download script

You can download this script and see more demos at jscolor.com.

Comments

umeshshejole
This is very important site for web designer and programmer about web designing i don't inspire any site with this site.i am lucky to visit this site thanks for publish web designing content.
umeshshejole at 01:59AM, 2011/03/28.
Gaurav Bajpai
This is the best DHTML site i had ever seen. It is very helpful for all the web designer and Developers.Many this which you could not find some where you can get here on
www.dhtmlgoodies.com
Gaurav Bajpai at 05:27AM, 2011/05/28.

Post your comment

Don't have an avatar? Create one at Gravatar.com.

Confirmation code:

Go to cbolson.com


About/Contact | A good idea? | Submit a script | Privacy notice
© 2005 - 2017 dhtmlgoodies.com