Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Collapsible accordion
if( utils.exists('ioa_accordion') ) { jQuery( ".ioa_accordion" ).accordion({
create: function( event, ui ) { ui.header.find('i').removeClass('down-diricon-').addClass('up-diricon-') },
beforeActivate: function( event, ui ) {
heightStyle: "content" , collapsible : true
}); }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment