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

44 lines
961 B
HTML
Raw Normal View History

<!doctype html>
<html>
<head>
<title>Accordion Static Test : DL</title>
<link rel="stylesheet" href="../../static/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="../../../ui/ui.core.js"></script>
<script type="text/javascript" src="../../../ui/ui.accordion.js"></script>
<script type="text/javascript">
$(function() {
$("dl").accordion({
header: "dt"
})
});
</script>
</head>
<body>
<dl>
<dt>
<a href="#">Accordion Header 1</a>
</dt>
<dd>
Accordion Content 1
</dd>
<dt>
<a href="#">Accordion Header 2</a>
</dt>
<dd>
Accordion Content 2
</dd>
<dt>
<a href="#">Accordion Header 3</a>
</dt>
<dd>
Accordion Content 2
</dd>
</dl>
</body>
</html>