r1906 - in trunk: demos/accordion ui
Author: joern.zaefferer
Date: Fri Jan 30 08:10:00 2009
New Revision: 1906
Modified:
trunk/demos/accordion/collapsible.html
trunk/demos/accordion/custom-icons.html
trunk/demos/accordion/default.html
trunk/demos/accordion/fillspace.html
trunk/demos/accordion/mouseover.html
trunk/ui/ui.accordion.js
Log:
accordion: better default for header-option
Modified: trunk/demos/accordion/collapsible.html
==============================================================================
--- trunk/demos/accordion/collapsible.html (original)
+++ trunk/demos/accordion/collapsible.html Fri Jan 30 08:10:00 2009
@@ -10,7 +10,6 @@
<script type="text/javascript">
$(function() {
$("#accordion").accordion({
- header: "h3",
alwaysOpen: false
});
});
Modified: trunk/demos/accordion/custom-icons.html
==============================================================================
--- trunk/demos/accordion/custom-icons.html (original)
+++ trunk/demos/accordion/custom-icons.html Fri Jan 30 08:10:00 2009
@@ -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"
Modified: trunk/demos/accordion/default.html
==============================================================================
--- trunk/demos/accordion/default.html (original)
+++ trunk/demos/accordion/default.html Fri Jan 30 08:10:00 2009
@@ -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>
Modified: trunk/demos/accordion/fillspace.html
==============================================================================
--- trunk/demos/accordion/fillspace.html (original)
+++ trunk/demos/accordion/fillspace.html Fri Jan 30 08:10:00 2009
@@ -11,7 +11,6 @@
<script type="text/javascript">
$(function() {
$("#accordion").accordion({
- header: "h3",
fillSpace: true
});
});
Modified: trunk/demos/accordion/mouseover.html
==============================================================================
--- trunk/demos/accordion/mouseover.html (original)
+++ trunk/demos/accordion/mouseover.html Fri Jan 30 08:10:00 2009
@@ -10,8 +10,7 @@
<script type="text/javascript">
$(function() {
$("#accordion").accordion({
- event: "mouseover",
- header: "h3"
+ event: "mouseover"
});
});
</script>
Modified: trunk/ui/ui.accordion.js
==============================================================================
--- trunk/ui/ui.accordion.js (original)
+++ trunk/ui/ui.accordion.js Fri Jan 30 08:10:00 2009
@@ -373,7 +373,7 @@
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"