web/static/css/jq-css/demos/accordion/collapsible.html
author ymh <ymh.work@gmail.com>
Mon, 12 Jul 2010 18:23:35 +0200
changeset 9 6014b4b0ad53
permissions -rw-r--r--
update player - jq-css
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
<!DOCTYPE html>
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
<html lang="en">
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
<head>
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
	<meta charset="UTF-8" />
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5
	<title>jQuery UI Accordion - Collapse content</title>
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
     6
	<link type="text/css" href="../../themes/base/jquery.ui.all.css" rel="stylesheet" />
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
     7
	<script type="text/javascript" src="../../jquery-1.4.2.js"></script>
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
     8
	<script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
     9
	<script type="text/javascript" src="../../ui/jquery.ui.widget.js"></script>
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
    10
	<script type="text/javascript" src="../../ui/jquery.ui.accordion.js"></script>
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
    11
	<link type="text/css" href="../demos.css" rel="stylesheet" />
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
    12
	<script type="text/javascript">
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
    13
	$(function() {
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
    14
		$("#accordion").accordion({
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
    15
			collapsible: true
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
    16
		});
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
    17
	});
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
    18
	</script>
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
    19
</head>
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
    20
<body>
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
    21
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
    22
<div class="demo">
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
    23
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
    24
<div id="accordion">
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
    25
	<h3><a href="#">Section 1</a></h3>
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
    26
	<div>
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
    27
		<p>Mauris mauris ante, blandit et, ultrices a, suscipit eget, quam. Integer ut neque. Vivamus nisi metus, molestie vel, gravida in, condimentum sit amet, nunc. Nam a nibh. Donec suscipit eros. Nam mi. Proin viverra leo ut odio. Curabitur malesuada. Vestibulum a velit eu ante scelerisque vulputate.</p>
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
    28
	</div>
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
    29
	<h3><a href="#">Section 2</a></h3>
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
    30
	<div>
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
    31
		<p>Sed non urna. Donec et ante. Phasellus eu ligula. Vestibulum sit amet purus. Vivamus hendrerit, dolor at aliquet laoreet, mauris turpis porttitor velit, faucibus interdum tellus libero ac justo. Vivamus non quam. In suscipit faucibus urna. </p>
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
    32
	</div>
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
    33
	<h3><a href="#">Section 3</a></h3>
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
    34
	<div>
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
    35
		<p>Nam enim risus, molestie et, porta ac, aliquam ac, risus. Quisque lobortis. Phasellus pellentesque purus in massa. Aenean in pede. Phasellus ac libero ac tellus pellentesque semper. Sed ac felis. Sed commodo, magna quis lacinia ornare, quam ante aliquam nisi, eu iaculis leo purus venenatis dui. </p>
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
    36
		<ul>
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
    37
			<li>List item one</li>
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
    38
			<li>List item two</li>
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
    39
			<li>List item three</li>
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
    40
		</ul>
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
    41
	</div>
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
    42
	<h3><a href="#">Section 4</a></h3>
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
    43
	<div>
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
    44
		<p>Cras dictum. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aenean lacinia mauris vel est. </p><p>Suspendisse eu nisl. Nullam ut libero. Integer dignissim consequat lectus. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. </p>
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
    45
	</div>
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
    46
</div>
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
    47
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
    48
</div><!-- End demo -->
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
    49
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
    50
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
    51
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
    52
<div class="demo-description">
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
    53
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
    54
<p>By default, accordions always keep one section open. To allow for all sections to be be collapsible, set the <code>collapsible</code> option to true. Click on the currently open section to collapse its content pane.</p>
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
    55
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
    56
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
    57
</div><!-- End demo-description -->
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
    58
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
    59
</body>
6014b4b0ad53 update player - jq-css
ymh <ymh.work@gmail.com>
parents:
diff changeset
    60
</html>