mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
44 lines
961 B
HTML
44 lines
961 B
HTML
<!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>
|