Turn checkboxes and radio buttons in toggle switches.
fork from : https://github.com/Bttstrp/bootstrap-switch.git

Emanuele 98b6ddd2e1 Merge pull request #203 from GrahamCampbell/updates 11 jaren geleden
build db933d83bf updated composer and banner 11 jaren geleden
docs fa81f6eced Updated docs 11 jaren geleden
src 804c771a38 breaking changes on methods names, implemented focusable wrapper div, updated docs, renamed deactivated in disabled 11 jaren geleden
.gitignore f38349e38b merged master into gh-pages 11 jaren geleden
CNAME a3ceb86964 ... 12 jaren geleden
CONTRIBUTING.md 93ca47d61c Update CONTRIBUTING.md 12 jaren geleden
Gruntfile.coffee 0eeac0a33d added useful grunt tasks, fixed doc 11 jaren geleden
LICENSE 40c9d7eb1d welcome 12 jaren geleden
README.md d344d0fb98 updated slogan 11 jaren geleden
bower.json eb03084e4a massive update and revision. added coffeescript source, updated README and documentation. removed input's surrounding div. 11 jaren geleden
composer.json db933d83bf updated composer and banner 11 jaren geleden
index.html fa81f6eced Updated docs 11 jaren geleden
package.json 0eeac0a33d added useful grunt tasks, fixed doc 11 jaren geleden

README.md

Bootstrap Switch

Turn checkboxes and radio buttons in toggle switches. Version 2 is here. Beware! The API design has been revisited. Check out the documentation to know more.

Demo and Documentation

http://www.bootstrap-switch.org

Usage

Just include jQuery, Bootstrap and Bootstrap Switch CSS + Javascript

<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<link rel="stylesheet" href="bootstrap.css">
<link rel="stylesheet" href="bootstrap-switch.css">
<script src="jquery.js"></script>
<script src="bootstrap-switch.js"></script>

Less

If you want to use your bootstrap variables, edit bootstrap-switch.less and compile it:

lessc src/less/bootstrap3/bootstrap-switch.less bootstrap-switch.css

Or if you are using Bootstrap 2.3.2:

lessc src/less/bootstrap2/bootstrap-switch.less bootstrap-switch.css

Supported browsers

IE8+ and all the other modern browsers.

License

Licensed under the Apache License, Version 2.0 http://www.apache.org/licenses/LICENSE-2.0