jQuery Switch Plugin

jQuery Switch Plugin on GitHub.

List of presets:

Default Call

            $('#switcher_1').switcher();
        

With Custom Label

            $('#switcher_2').switcher({
                leftLabel: "Moscow",
                rightLabel: "New York"
            });
        

Default ON

            $('#switcher_3').switcher({
                status: 1
            });
        

Callbacks

            $('#switcher_4').switcher({
                onTurnOff: function() {
                    alert('Switcher: Turn OFF');
                },
                onTurnOn: function() {
                    alert('Switcher: Turn ON');
                }
            });
        

jQuery Switch Plugin on GitHub.