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

36 lines
950 B
HTML
Raw Normal View History

2008-12-13 13:39:49 +00:00
<!doctype html>
<html lang="en">
<head>
<title>Accordion Visual Test : Accordion</title>
<link rel="stylesheet" href="../visual.css" type="text/css" />
<link rel="stylesheet" href="../../../themes/base/ui.all.css" type="text/css">
2009-02-20 11:40:25 +00:00
<script type="text/javascript" src="../../../jquery-1.3.2.js"></script>
<script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
<script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
<script type="text/javascript" src="../../../ui/jquery.ui.accordion.js"></script>
2008-12-13 13:39:49 +00:00
<script type="text/javascript">
$(function() {
$("#accordion").accordion();
})
2008-12-13 13:39:49 +00:00
</script>
</head>
<body>
<div id="accordion">
<h3><a href="#">Accordion Header 1</a></h3>
<div>
Accordion Content 1
2008-12-13 13:39:49 +00:00
</div>
<h3><a href="#">Accordion Header 2</a></h3>
<div>
Accordion Content 2
</div>
<h3><a href="#">Accordion Header 3</a></h3>
<div>
Accordion Content 3
</div>
</div>
2008-12-13 13:39:49 +00:00
</body>
</html>