Satyam![]()
Mostly a visual trick, produces a sliding button like those on iPhones.
Marc has made a much better version:
<script src="http://yui.yahooapis.com/3.10.0/build/yui/yui-min.js"></script>YUI({
//Last Gallery Build of this module
gallery: 'gallery-2013.01.23-21-59'
}).use('gallery-md-ibutton', function(Y) {
"use strict";
var iButton = new Y.IButton({
labelOn:'yes',
labelOff: 'no'
}).render('#test');
iButton.on('valueChange', function (ev) {
Y.log(ev.newVal,'info','iButton');
});
});| Subject | Author | Date |
|---|---|---|
| Suggestion | Marc | 09/28/11 |
| Re: Suggestion | Satyam | 10/3/11 |
| Re: Suggestion | Satyam | 10/5/11 |
| Re: Suggestion | Marc | 10/18/11 |
| Default on button in button group | ispyinternet | 03/15/12 |
| Re: Default on button in button group | Satyam | 03/15/12 |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info