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"> <script type="text/javascript">
$(function() { $(function() {
$("#accordion").accordion({ $("#accordion").accordion({
header: "h3",
alwaysOpen: false alwaysOpen: false
}); });
}); });

View File

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

View File

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

View File

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

View File

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

View File

@ -373,7 +373,7 @@ $.extend($.ui.accordion, {
clearStyle: false, clearStyle: false,
event: "click", event: "click",
fillSpace: false, fillSpace: false,
header: "a", header: "> li :first,> :not(li):odd",
icons: { icons: {
header: "ui-icon-triangle-1-e", header: "ui-icon-triangle-1-e",
headerSelected: "ui-icon-triangle-1-s" headerSelected: "ui-icon-triangle-1-s"