jQuery Toggles

Toggles is a lightweight jQuery plugin that creates easily-styleable toggle buttons.

Themes

Light
Dark
iPhone
Modern
Soft

Examples

No Click

$('.toggle').toggles({click:false});

No Drag

$('.toggle').toggles({drag:false});

Clickable Element

Click here!
$('.toggle').toggles({clicker:$('.clickme')});

Toggle a Checkbox

$('.toggle').toggles({checkbox:$('.checkme')});

Be On by Default

$('.toggle').toggles({on:true});

Custom Text

$('.toggle').toggles({text:{on:'HI',off:'BYE'}});

Select Type

$('.toggle').toggles({type:'select'});
MIT License. A link to my Twitter or this page would be greatly appreciated.