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'}});

Animation Easing

$('.toggle').toggles({easing:'linear',animate:1000});

Disabled

$('.toggle').toggles().addClass('disabled');

Select Type

$('.toggle').toggles({type:'select'});
MIT License. If you like them, a link to my Twitter, this page, or a Tweet would be greatly appreciated.