New Post has been published on Html Use
New Post has been published on http://www.htmluse.com/jquery-digitalswitch-js-a-jquery-plugin-of-digital-switch/
jquery.digitalswitch.js - A jQuery plugin of Digital Switch.
This jQuery plugin jquery.digitalswitch.js is aof Digital Switch.
This is (decimal, binary, hexa) Digital Switches Widgets.
Thumbwheel Switche like. or Spinner like.
you can make an original design Digital Switches.
IE 11+: ok (option enable)
<script src="lib/jquery-1.11.1.min.js"></script> <script src="jquery.digitalswitch.js"></script>
$(function() $("#dd").digisw(digits: 4); );
options name : defaults value, //description
digits: 1, //digits: number type. numeric: 'dec', //:'dec' (decimal) :'bin' (binary) :'hex' (hexa) string type. width: 20, //width: number type px. one unit digits width. height: 20, //height: number type px. numeric block hight. pbheight: 10, //pbheight: number type px. up&down button height css: 'default', //select a theme css name. storage: false, //true or false boolean type. localstorage use true. rw setting value. fonts: true, //true or false boolean type. true auto size. fale css setting size. change: function() //change Callback. return a string type value.
Get Value (manual operation)
//format var retval = $.getdigi('target selectors id'); //-example- var retval = $.getdigi( 'wao' ); //return a switch setting value to string type.