switch
======

A lightweight switch-like widget using twitter bootstrap and jQuery. This is good for simulating states like on/off, user/admin etc.

The files to be included are switch.css and switch.js . For the buttons, this widget uses a btn-group. The html looks like this:

```html
<div class="btn-group" data-toggle="buttons-radio">
  <button type="button" class="btn select">My value 1</button>
  <button type="button" class="btn unselect">My value 2</button>
</div>
```

If using the Foundation library, use the synonyous buttongroup class.
 
switch.js
======

A lightweight switch-like widget using twitter bootstrap and jQuery. This is good for simulating states like on/off, user/admin etc.

#Files
The files to be included are switch.css and switch.js and the required html markup that looks like this:

```html
<div class="btn-group" data-toggle="buttons-radio">
  <button type="button" class="btn select">My value 1</button>
  <button type="button" class="btn unselect">My value 2</button>
</div>
```

#Dependency libs
This has been tested with JQuery versions 1.9.1 and above and with bootstrap 2.3.2 . This should also work with Bootstrap 3.0


#Example
Link: https://github.com/rash-mi/switch/blob/master/examples/switch-example.html


#Using foundations
If using the Foundation library, try using the <i>buttongroup</i> and <i>small button</i> classes correspondingly.
 
Include examples - initial try
Include examples - initial try
