-
Notifications
You must be signed in to change notification settings - Fork 19
Home
leo-naeka edited this page Jan 13, 2012
·
3 revisions
$(":checkbox").switchbutton();
$(":checkbox").switchbutton({ classes: 'ui-switchbutton-thin', duration: 300, checkedLabel: 'I', uncheckedLabel: 'O' });
You may have noticed that even if css border-radius is supported on IE9, the background is not stripped and covers the whole original square (more visible with ios5 style).
To prevent this visual glitch, you should include in your HTML:
<!--[if gte IE 9]> <style type="text/css"> .ui-switchbutton-default .ui-switchbutton-handle { border-radius: 0px; } </style> <![endif]-->