<script type="text/javascript">
$(function() {
$("#accordion").accordion({
- header: "h3",
alwaysOpen: false
});
});
<script type="text/javascript">
$(function() {
$("#accordion").accordion({
- header: "h3",
icons: {
header: "ui-icon-circle-arrow-e",
headerSelected: "ui-icon-circle-arrow-s"
<link type="text/css" href="../demos.css" rel="stylesheet" />
<script type="text/javascript">
$(function() {
- $("#accordion").accordion({
- header: "h3"
- });
+ $("#accordion").accordion();
});
</script>
</head>
<script type="text/javascript">
$(function() {
$("#accordion").accordion({
- header: "h3",
fillSpace: true
});
});
<script type="text/javascript">
$(function() {
$("#accordion").accordion({
- event: "mouseover",
- header: "h3"
+ event: "mouseover"
});
});
</script>
clearStyle: false,
event: "click",
fillSpace: false,
- header: "a",
+ header: "> li :first,> :not(li):odd",
icons: {
header: "ui-icon-triangle-1-e",
headerSelected: "ui-icon-triangle-1-s"