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">
|
<script type="text/javascript">
|
||||||
$(function() {
|
$(function() {
|
||||||
$("#accordion").accordion({
|
$("#accordion").accordion({
|
||||||
header: "h3",
|
|
||||||
alwaysOpen: false
|
alwaysOpen: false
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@ -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"
|
||||||
|
@ -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>
|
||||||
|
@ -11,7 +11,6 @@
|
|||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(function() {
|
$(function() {
|
||||||
$("#accordion").accordion({
|
$("#accordion").accordion({
|
||||||
header: "h3",
|
|
||||||
fillSpace: true
|
fillSpace: true
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@ -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>
|
||||||
|
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user