Submit your widget

very nice and useful gradient(color) selector with jQuery

Created 2 years ago   Views 15518   downloads 2609    Author codologic
very nice and useful  gradient(color) selector  with jQuery
View DemoDownload 188.0 KB
157
Share |

JQUERY GRADIENT SELECTOR

The most basic example is given below :

<html>
 <head>
  <title>gradx example</title>
 
        <script src="lib/js/jquery.js"></script>
        <script src="lib/js/jquery-ui.js"></script>
 
        <!-- or if jquery ui is not present
          <script src="dom-drag.js"></script>
        -->
 
        <!-- colorpicker js and css -->
        <link type="text/css" rel="stylesheet" href="colorpicker/css/colorpicker.css" />
        <script src="colorpicker/js/colorpicker.js"></script>
 
 
        <!-- gradx js and css -->
        <link type="text/css" rel="stylesheet" href="gradX.css" />
        <script src="gradX.js"></script>
  
 
 </head>
 <body>
 
   
   <div id="my_own_div"></div>
 
   <script>
    //select your div the jQuery way
    gradx('#my_own_div'); //just one line of code
   </script>
 </body>
</html>

Read more:http://codologic.com/page/gradx-jquery-javascript-gradient-selector-library