jquery-ui/tests/visual/accordion/default.html

41 lines
927 B
HTML
Raw Normal View History

2009-01-24 12:07:26 +00:00
<!doctype html>
<html lang="en">
<head>
<title>Accordion Visual Test : Default</title>
<link rel="stylesheet" href="../visual.css" type="text/css" />
<link rel="stylesheet" href="../../../themes/base/ui.all.css" type="text/css">
<script type="text/javascript" src="../../../jquery-1.3.1.js"></script>
<script type="text/javascript" src="../../../ui/ui.core.js"></script>
<script type="text/javascript" src="../../../ui/ui.accordion.js"></script>
<script type="text/javascript">
$(function() {
$("#accordion").accordion({ header: "h3" });
})
</script>
</head>
<body>
<div id="accordion">
<div>
<h3><a href="#">Accordion Header 1</a></h3>
2009-01-24 12:07:26 +00:00
<div>
Accordion Content 1
2009-01-24 12:07:26 +00:00
</div>
</div>
<div>
<h3><a href="#">Accordion Header 2</a></h3>
2009-01-24 12:07:26 +00:00
<div>
Accordion Content 2
2009-01-24 12:07:26 +00:00
</div>
</div>
<div>
<h3><a href="#">Accordion Header 3</a></h3>
2009-01-24 12:07:26 +00:00
<div>
Accordion Content 3
2009-01-24 12:07:26 +00:00
</div>
</div>
</div>
</body>
</html>