accordion.html revision 9cdb1aa8d3a7901f789c2ad7a6ea00e804a9abeb
Y.log('first block');
Y.log('second block');
fullpath: 'http://yui.yahooapis.com/gallery-2009.10.27-23/build/gallery-node-accordion/gallery-node-accordion-min.js',
fullpath: 'http://yui.yahooapis.com/gallery-2009.10.27/build/gallery-accordion/gallery-accordion-min.js',
requires: ["event","anim-easing","dd-constrain","dd-proxy","dd-drop","widget","widget-stdmod","json-parse"],
accordion = new Y.Accordion( {
item1 = new Y.AccordionItem( {
item1.set( "bodyContent", "This is the body of the item, added dynamically to accordion.<br>Content height has been set as \"fixed, 80px\"." );
accordion.addItem( item1 );
item2 = new Y.AccordionItem( {
item2.set( "bodyContent", "This is the body of the item, added dynamically to accordion, before item1.<br>Content height has been set as \"stretch\"." );
accordion.addItem( item2, item1 );
item3 = new Y.AccordionItem( {
item3.set( "bodyContent", "<div style='position:relative;'>This is the body of the item, added dynamically to accordion.<br>Content height has been set as \"auto\".</div>" );
accordion.addItem( item3 );
fullpath: 'http://yui.yahooapis.com/gallery-2009.10.27-23/build/gallery-timepicker/gallery-timepicker-min.js',
var picker = new Y.Saw.Timepicker({contentBox: '#cb'}); //assuming this exists
picker.hide();
picker.show();
picker.subscribe('timechange', function(data){
picker.subscribe('cellclick', function(e){
this.hide();
fullpath: 'http://yui.yahooapis.com/gallery-2009.10.27-23/build/gallery-idletimer/gallery-idletimer-min.js',
Y.IdleTimer.subscribe("idle", function(){
Y.IdleTimer.subscribe("active", function(){