jQuery iOS Checkboxes

Bluehost Shared Hosting

jQuery iOS Checkboxes

Description

I created this plugin to easily enable the iOS 5 + 6 style checkboxes in HTML development. It is completely customisable with CSS for advanced users or the JS call can be modified to allow for simple tweaks like the colour, or the border-radus to turn the checkboxes into iOS 4 style. I was keen to make the checkboxes without the need for images so it can be modified quickly, because of this i had to use CSS 3 which means that older browsers will be effected but it does degrade gracefully. To make the code base shorter, for perfect results use jQuery 1.8+ as this includes browser prefixing support.

Features

  • iOS4, iOS5, iOS6, iOS7 UISwitch
  • 100% CSS3 for complete customisability
  • Ability to change the Checked Colour
  • Any text for on/off
  • Auto sizing based on the font-size
  • Mobile Support (Although I know you may not want to load jQuery on a Mobile device.)
  • Global defaults, set style once and use across your website.

Browser Support

IE 7+ Chrome Safari Firefox 3+ Opera

Requirements

This plugin uses jQuery 1.8+
This plugin makes use of the css prefixes built into 1.8, if you are using 1.7 you will still see a checkbox but on the browsers that need css prefixes the styling will be a little different.

Disclaimer

iOS is a trademark of Apple Inc.

4.6 average based on 7 ratings.

awgeorge

awgeorge

Visit Author's Portfolio

View Portfolio
Last Update 2015-11-14
Created 2013-01-14
Sales 95
Discussion Comments
Compatible Browsers IE7 IE8 IE9 IE10 Firefox Safari Opera Chrome
Software Version jQuery
High Resolution No
Files Included JavaScript JS HTML CSS
Video Preview Resolution