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

37 lines
981 B
HTML
Raw Normal View History

<!DOCTYPE html>
2008-12-13 13:39:49 +00:00
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Accordion Visual Test : Default</title>
<link rel="stylesheet" href="../visual.css" type="text/css" />
<link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css" type="text/css">
2010-02-16 02:39:57 +00:00
<script type="text/javascript" src="../../../jquery-1.4.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>