]> source.dussan.org Git - jquery-ui.git/commitdiff
new static page for accordion with no wrapper divs (due to new animation update)
authorScott Jehl <scott@scottjehl.com>
Wed, 28 Jan 2009 18:01:34 +0000 (18:01 +0000)
committerScott Jehl <scott@scottjehl.com>
Wed, 28 Jan 2009 18:01:34 +0000 (18:01 +0000)
the css in this file can replace accordion.css in themes/base once this is implemented and all css references to the content-wrap can be removed.

tests/static/accordion/default _nowrappers.html [new file with mode: 0644]

diff --git a/tests/static/accordion/default _nowrappers.html b/tests/static/accordion/default _nowrappers.html
new file mode 100644 (file)
index 0000000..cffbc71
--- /dev/null
@@ -0,0 +1,53 @@
+<!doctype html>
+<html>
+<head>
+       <title>Accordion Static Test : Default</title>
+       <link rel="stylesheet" href="../static.css" type="text/css" />
+       <link rel="stylesheet" href="../../../themes/base/ui.base.css" type="text/css" />
+       <link rel="stylesheet" href="../../../themes/base/ui.theme.css" type="text/css" title="ui-theme" />
+       <script type="text/javascript" src="../../../jquery-1.3.1.js"></script>
+       <script type="text/javascript" src="../static.js"></script>
+       <style type="text/css">
+       .ui-accordion .ui-accordion-content { border-top: 0; margin-top: -1px; position: relative; top: 1px; margin-bottom: 2px; padding: 1em 2.2em; }
+       </style>
+</head>
+<body>
+
+<div class="ui-accordion ui-widget ui-helper-reset">
+       <div class="ui-accordion-group ui-accordion-selected">
+               <h3 class="ui-accordion-header ui-helper-reset ui-state-active ui-corner-top" tabindex="0">
+                       <span class="ui-icon ui-icon-triangle-1-s"></span>
+                       <a href="#">Accordion Header 1</a>
+               </h3>
+               <div>
+                       <div class="ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom">
+                                       Accordion Content 1
+                       </div>
+               </div>
+       </div>
+       <div class="ui-accordion-group">
+               <h3 class="ui-accordion-header ui-helper-reset ui-state-default ui-corner-all" tabindex="0">
+                       <span class="ui-icon ui-icon-triangle-1-e"></span>
+                       <a href="#">Accordion Header 2</a>
+               </h3>
+               <div>
+                       <div class="ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom" style="height: 95px; display: none;">
+                                       Accordion Content 2
+                       </div>
+               </div>
+       </div>
+       <div class="ui-accordion-group">
+               <h3 class="ui-accordion-header ui-helper-reset ui-state-default ui-corner-all" tabindex="0">
+                       <span class="ui-icon ui-icon-triangle-1-e"></span>
+                       <a href="#">Accordion Header 3</a>
+               </h3>
+               <div>
+                       <div class="ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom" style="height: 95px; display: none;">
+                                       Accordion Content 2
+                       </div>
+               </div>
+       </div>
+</div>
+
+</body>
+</html>