powerSwitch
It's a jQuery plugin, whitch is used for web, used for almost any switch affect.
How to use?
$("selector").powerSwitch({ /* APIs */ });
APIs and Demos
Test Page: https://www.zhangxinxu.com/github/powerSwitch/index.html
Demo Pages: https://www.zhangxinxu.com/github/powerSwitch/demo/
API Document: https://www.zhangxinxu.com/github/powerSwitch/api/index.html
You can visit here to get more information.