mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
accordion: better default for header-option
This commit is contained in:
parent
b81f57ad38
commit
00b0b3661f
@ -10,7 +10,6 @@
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
$("#accordion").accordion({
|
||||
header: "h3",
|
||||
alwaysOpen: false
|
||||
});
|
||||
});
|
||||
|
@ -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"
|
||||
|
@ -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>
|
||||
|
@ -11,7 +11,6 @@
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
$("#accordion").accordion({
|
||||
header: "h3",
|
||||
fillSpace: true
|
||||
});
|
||||
});
|
||||
|
@ -10,8 +10,7 @@
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
$("#accordion").accordion({
|
||||
event: "mouseover",
|
||||
header: "h3"
|
||||
event: "mouseover"
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user