jquery-ui/tests/accordion.html

142 lines
3.1 KiB
HTML
Raw Normal View History

2008-09-20 17:30:51 +00:00
<!doctype html>
2008-06-04 02:34:33 +00:00
<html lang="en">
<head>
<title>jQuery UI Accordion Test Suite</title>
2008-06-07 18:03:19 +00:00
<link rel="stylesheet" href="qunit/testsuite.css" type="text/css" media="screen">
<script type="text/javascript" src="../jquery-1.2.6.js"></script>
<script type="text/javascript" src="../ui/ui.core.js"></script>
<script type="text/javascript" src="../ui/ui.accordion.js"></script>
2008-06-07 18:03:19 +00:00
<script type="text/javascript" src="qunit/testrunner.js"></script>
2008-06-07 19:26:35 +00:00
<script type="text/javascript" src="simulate/jquery.simulate.js"></script>
2008-06-04 02:34:33 +00:00
<script type="text/javascript" src="accordion.js"></script>
2008-06-07 18:03:19 +00:00
2008-06-04 02:34:33 +00:00
<style type="text/css">
.xerror, .error { display: none }
</style>
2008-06-07 19:26:35 +00:00
2008-06-04 02:34:33 +00:00
</head>
2008-06-07 19:26:35 +00:00
<body>
<h1 id="header">jQuery UI Accordion Test Suite</h1>
<h2 id="banner"></h2>
<h2 id="userAgent"></h2>
2008-06-04 02:34:33 +00:00
2008-06-07 19:26:35 +00:00
<ol id="tests"></ol>
2008-06-04 02:34:33 +00:00
<div id="main" style="position:absolute;top:-2000000px;">
<div id="list1">
<a>There is one obvious advantage:</a>
<div>
<p>
You've seen it coming!<br/>
Buy now and get nothing for free!<br/>
Well, at least no free beer. Perhaps a bear, if you can afford it.
</p>
</div>
<a>Now that you've got...</a>
<div>
<p>
your bear, you have to admit it!<br/>
No, we aren't selling bears.
</p>
<p>
We could talk about renting one.
</p>
</div>
<a>Rent one bear, ...</a>
<div>
<p>
get two for three beer.
</p>
<p>
And now, for something completely different.
</p>
</div>
</div>
2008-06-04 02:34:33 +00:00
<ul id="navigation">
<li>
<a class="head" href="?p=1.1.1">Guitar</a>
<ul>
<li><a href="?p=1.1.1.1">Electric</a></li>
<li><a href="?p=1.1.1.2">Acoustic</a></li>
<li><a href="?p=1.1.1.3">Amps</a></li>
<li><a href="?p=1.1.1.4">Effects</a></li>
<li><a href="?p=1.1.1.5">Accessories</a></li>
</ul>
</li>
<li>
<a class="head" href="?p=1.1.2"><span>Bass</span></a>
<ul>
<li><a href="?p=1.1.2.1">Electric</a></li>
<li><a href="?p=1.1.2.2">Acoustic</a></li>
<li><a href="?p=1.1.2.3">Amps</a></li>
<li><a href="?p=1.1.2.4">Effects</a></li>
<li><a href="?p=1.1.2.5">Accessories</a></li>
<li><a href="?p=1.1.2.5">Accessories</a></li>
<li><a href="?p=1.1.2.5">Accessories</a></li>
</ul>
</li>
<li>
<a class="head" href="?p=1.1.3">Drums</a>
<ul>
<li><a href="?p=1.1.3.2">Acoustic Drums</a></li>
<li><a href="?p=1.1.3.3">Electronic Drums</a></li>
<li><a href="?p=1.1.3.6">Accessories</a></li>
</ul>
</li>
</ul>
<dl id="list2">
<dt class="red">Red</dt>
<dd>
Fancy stuff about red thingies.
</dd>
<dt class="green selected">Green</dt>
<dd>
Green! Green! Green!
</dd>
<dt class="blue">Blue</dt>
<dd>
Cool kids are blue.
</dd>
</dl>
<div id="list3">
<div>
<div class="title">Tennis</div>
2008-06-04 02:34:33 +00:00
<div>
One ball, two players. Lots of fun.
2008-06-04 02:34:33 +00:00
</div>
</div>
<div>
<div class="title">Soccer</div>
2008-06-04 02:34:33 +00:00
<div>
One ball, 22 players. Lots of fun.
2008-06-04 02:34:33 +00:00
</div>
</div>
<div>
<div class="title">Baseball</div>
2008-06-04 02:34:33 +00:00
<div>
Well, one ball, some guys running around, some guys hitting others with a stick.<br/>
Sounds like fun, doesn't it?
2008-06-04 02:34:33 +00:00
</div>
<div>
Well, apart from the running part.
2008-06-04 02:34:33 +00:00
</div>
</div>
2008-06-07 19:26:35 +00:00
</div>
2008-06-04 02:34:33 +00:00
</div>
2008-06-07 19:26:35 +00:00
</body>
</html>