accordion: better default for header-option

This commit is contained in:
Jörn Zaefferer 2009-01-30 16:10:00 +00:00
parent b81f57ad38
commit 00b0b3661f
6 changed files with 3 additions and 9 deletions

View File

@ -10,7 +10,6 @@
<script type="text/javascript">
$(function() {
$("#accordion").accordion({
header: "h3",
alwaysOpen: false
});
});

View File

@ -10,7 +10,6 @@
<script type="text/javascript">
$(function() {
$("#accordion").accordion({
header: "h3",
icons: {
header: "ui-icon-circle-arrow-e",
headerSelected: "ui-icon-circle-arrow-s"

View File

@ -9,9 +9,7 @@
<link type="text/css" href="../demos.css" rel="stylesheet" />
<script type="text/javascript">
$(function() {
$("#accordion").accordion({
header: "h3"
});
$("#accordion").accordion();
});
</script>
</head>

View File

@ -11,7 +11,6 @@
<script type="text/javascript">
$(function() {
$("#accordion").accordion({
header: "h3",
fillSpace: true
});
});

View File

@ -10,8 +10,7 @@
<script type="text/javascript">
$(function() {
$("#accordion").accordion({
event: "mouseover",
header: "h3"
event: "mouseover"
});
});
</script>

View File

@ -373,7 +373,7 @@ $.extend($.ui.accordion, {
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"