jQuery('#list1a').accordion(); jQuery('#list1b').accordion({ autoheight: false });
You've seen it coming! Buy now and get nothing for free! Well, at least no free beer. Perhaps a bear, if you can afford it.
your bear, you have to admit it! No, we aren't selling bears.
get two for three beer.
And now, for something completely different. And now, for something completely different. And now, for something completely different. And now, for something completely different. And now, for something completely different. And now, for something completely different. And now, for something completely different. And now, for something completely different. Period.
鍩轰簬浣嶇疆鐨勪繚瀛樼姸鎬侊細婵娲荤殑鍏冪礌鏄熀浜 location.hash 琚変腑鐨勶細鐐瑰嚮鍏朵腑涓涓摼鎺ワ紝閲嶆柊杞藉叆椤甸潰銆
jQuery('#navigation').accordion({ active: false, header: '.head', navigation: true, event: 'mouseover', fillSpace: true, animated: 'easeslide' });
jQuery('#list2').accordion({ event: 'mouseover', active: '.selected', selectedClass: 'active', animated: "bounceslide", header: "dt" }).bind("change.ui-accordion", function(event, ui) { jQuery('<div>' + ui.oldHeader.text() + ' hidden, ' + ui.newHeader.text() + ' shown</div>').appendTo('#log'); });
jQuery('#list3').accordion({ header: 'div.title', active: false, alwaysOpen: false, animated: false, autoheight: false });
Well, one ball, some guys running around, some guys hitting others with a stick. Sounds like fun, doesn't it?
Well, apart from the running part. Navigation example
var wizard = $("#wizard").accordion({ header: '.title', event: false }); $("div.title", wizard).each(function(index) { $(this) .next() .children(":button") .filter(".next, .previous") .click(function() { wizard.changeAccordion("activate", index + ($(this).is(".next") ? 1 : -1)) }); });