YouTip LogoYouTip

Jquery Plugin Accordion

# jQuery Accordion The jQuery Accordion plugin is used to create collapsible menus. It is typically used with nested lists, definition lists, or nested divs. Options are used to specify the structure, active elements, and custom animations. This plugin is now part of (#), and the standalone version will no longer be updated. The current version is 1.6. (http://bassistance.de/jquery-plugins/jquery-plugin-accordion/), jQuery Accordion plugin download: [ For more details about the Accordion, please refer to the API documentation (#). ## Standard The standard code is as follows: jQuery('#list1a').accordion(); jQuery('#list1b').accordion({ autoheight: false }); ## Navigation Unordered list with anchors and nested lists jQuery('#navigation').accordion({ active: false, header: '.head', navigation: true, event: 'mouseover', fillSpace: true, animated: 'easeslide' }); ## With Options The container is a definition list, the header is dt, and the content is dd. jQuery('#list2').accordion({ event: 'mouseover', active: '.selected', selectedClass: 'active', animated: "bounceslide", header: "dt" }).bind("change.ui-accordion", function(event, ui) { jQuery('
' + ui.oldHeader.text() + ' hidden, ' + ui.newHeader.text() + ' shown
').appendTo('#log'); }); (#)(#)
← Jquery Plugin AutocompleteJquery Plugin Validate β†’