iOS Style Toggle Switch With Gooey Effect - jQuery mSwitch

File Size: 5.78 KB
Views Total: 6380
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
iOS Style Toggle Switch With Gooey Effect - jQuery mSwitch

Yet another jQuery toggle switch plugin which transforms a regular checkbox input into an iOS style switch control with cool gooey sliding effects when toggled.

How to use it:

1. Insert jQuery JavaScript library and the jQuery mSwitch plugin's JavaScript and CSS files into the page.

<link href="jquery.mswitch.css" rel="stylesheet">
<script src="" 
<script src="js/jquery.mswitch.js"></script>

2. Create a normal checkbox on the page.

<input type="checkbox" id="switcher" class="m_switch_check" value="0">

3. Transform the checkbox into a toggle switch.


4. Available callback functions.

  onRendered: function(){},
  onRender: function(elem){},
  onTurnOn: function(elem){
    return true;
  onTurnOff: function(elem){
    return true;

This awesome jQuery plugin is developed by hdmvide. For more Advanced Usages, please check the demo page or visit the official website.