HSLA Color Picker [JQuery Plugin]
1 post
Page 1 of 1
HSLA-Color-Picker - Made by yours truly
Enjoy!
HSLA-Color-Picker
Easily Integrate a Simple HSLA Color Picker as a JQuery Plugin.
Demo:
http://codepen.io/mikethedj4/pen/hrajo
You can also try it with the HTML OnLive Debugger.
How To:
First call the required libraries. (JQuery MUST be called before the plugin!)
GPL v.2

HSLA-Color-Picker
Easily Integrate a Simple HSLA Color Picker as a JQuery Plugin.
Demo:
http://codepen.io/mikethedj4/pen/hrajo
You can also try it with the HTML OnLive Debugger.
How To:
First call the required libraries. (JQuery MUST be called before the plugin!)
Code: Select all
Second create a textbox to apply the picker.
<link type="text/css" rel="stylesheet" href="hsla-picker.css">
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
<script type="text/javascript" src="hsla-picker.js"></script>
Code: Select all
Third call .HSLAColorPicker() to call the plugin after you've applied your function value to whatever you're using it for.
<input class="picker" type="text">
Code: Select all
Usage:$(".picker").bind('load focus blur change', function() {
$("body").css({
"background-color": $(this).val()
});
}).HSLAColorPicker();
- When using this plugin your selector should always be an input[type=text] element.
GPL v.2
You do not have the required permissions to view the files attached to this post.
1 post
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023