Cool jquery switch on off

jQuery/Switch awesome slide/toggle switches

jQuery/Switch is an iOS-inspired slide/toggle widget. It began as an alternative switch for jQuery Mobile, but it also targets desktop browsers as well.
Usage
<select>
  <option value="1">On</option>
  <option value="0">Off</option>
</select>

Then, initialize the plugin:
$(document).ready(function() {
  $('select').switchify();

  // optionally, override the defaults:
  // $('select').switchify({ on: '1', off: '0' });
});


Features
  • Respects the selected value of the original select
  • Supports multiple switches
  • Updates the selected value of the original select when the state is updated
  • Listens for the 'change' event on the original select
  • Respects the "disabled" attribute
  • Works on both desktop and mobile browsers (see browser support below)
  • Drag or click/tap controls as well as API .on(), .off(), and .toggle()
  • Basic keyboard support (tab-enabled, Enter to toggle)
  • Event driven via the "slide" event

Demo: Demo
URL: http://rawnet.github.com/jquery-switch/
Download: Download last version
Cool jquery switch on off Cool jquery switch on off Reviewed by Bhaumik Patel on 9:14 PM Rating: 5