syntax:accordion ( options )
return type:void, element
content:ใช้กำหนดให้ ทุก element ภายใน set มีคุณสมบัติ accordion ( เมนูแบบสไลด์ )
โดย options ให้กำหนดค่า config ต่างๆ ให้กับการ accordion ได้แก่
disabled, active, animated, autoHeight, clearStyle, collapsible, event,
header, navigation, navigationFilter, change, changestart
example:$("div.accordion").accordion ( { autoHeight: false } );
var autoHeight = $("div.accordion").accordion ( "option", "autoHeight" ); // ใช้คืนค่าข้อมูลของ property ที่กำหนด
$("div.accordion").accordion ( "option", "autoHeight", false ); // ใช้กำหนดค่าให้กับ property ที่กำหนด