client/player/development-bundle/demos/tabs/collapsible.html
author ymh <ymh.work@gmail.com>
Sat, 12 Jun 2010 04:25:05 +0200
changeset 0 cc4a51750724
permissions -rw-r--r--
first commit
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
<!DOCTYPE html>
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
<html lang="en">
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
<head>
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
	<meta charset="UTF-8" />
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5
	<title>jQuery UI Tabs - Collapse content</title>
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
     6
	<link type="text/css" href="../../themes/base/jquery.ui.all.css" rel="stylesheet" />
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
     7
	<script type="text/javascript" src="../../jquery-1.4.2.js"></script>
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
     8
	<script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
     9
	<script type="text/javascript" src="../../ui/jquery.ui.widget.js"></script>
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    10
	<script type="text/javascript" src="../../ui/jquery.ui.tabs.js"></script>
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    11
	<link type="text/css" href="../demos.css" rel="stylesheet" />
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    12
	<script type="text/javascript">
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    13
	$(function() {
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    14
		$("#tabs").tabs({
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    15
			collapsible: true
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    16
		});
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    17
	});
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    18
	</script>
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    19
</head>
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    20
<body>
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    21
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    22
<div class="demo">
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    23
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    24
<div id="tabs">
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    25
	<ul>
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    26
		<li><a href="#tabs-1">Nunc tincidunt</a></li>
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    27
		<li><a href="#tabs-2">Proin dolor</a></li>
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    28
		<li><a href="#tabs-3">Aenean lacinia</a></li>
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    29
	</ul>
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    30
	<div id="tabs-1">
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    31
		<p><strong>Click this tab again to close the content pane.</strong></p>
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    32
		<p>Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. Nunc tristique tempus lectus.</p>
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    33
	</div>
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    34
	<div id="tabs-2">
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    35
		<p><strong>Click this tab again to close the content pane.</strong></p>
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    36
		<p>Morbi tincidunt, dui sit amet facilisis feugiat, odio metus gravida ante, ut pharetra massa metus id nunc. Duis scelerisque molestie turpis. Sed fringilla, massa eget luctus malesuada, metus eros molestie lectus, ut tempus eros massa ut dolor. Aenean aliquet fringilla sem. Suspendisse sed ligula in ligula suscipit aliquam. Praesent in eros vestibulum mi adipiscing adipiscing. Morbi facilisis. Curabitur ornare consequat nunc. Aenean vel metus. Ut posuere viverra nulla. Aliquam erat volutpat. Pellentesque convallis. Maecenas feugiat, tellus pellentesque pretium posuere, felis lorem euismod felis, eu ornare leo nisi vel felis. Mauris consectetur tortor et purus.</p>
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    37
	</div>
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    38
	<div id="tabs-3">
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    39
		<p><strong>Click this tab again to close the content pane.</strong></p>
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    40
		<p>Duis cursus. Maecenas ligula eros, blandit nec, pharetra at, semper at, magna. Nullam ac lacus. Nulla facilisi. Praesent viverra justo vitae neque. Praesent blandit adipiscing velit. Suspendisse potenti. Donec mattis, pede vel pharetra blandit, magna ligula faucibus eros, id euismod lacus dolor eget odio. Nam scelerisque. Donec non libero sed nulla mattis commodo. Ut sagittis. Donec nisi lectus, feugiat porttitor, tempor ac, tempor vitae, pede. Aenean vehicula velit eu tellus interdum rutrum. Maecenas commodo. Pellentesque nec elit. Fusce in lacus. Vivamus a libero vitae lectus hendrerit hendrerit.</p>
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    41
	</div>
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    42
</div>
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    43
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    44
</div><!-- End demo -->
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    45
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    46
<div class="demo-description">
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    47
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    48
<p>Click the selected tab to toggle its content closed/open.  To enable this functionality, set the <code>collapsible</code> option to true.</p>
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    49
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    50
<pre><code>collapsible: true
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    51
</code></pre>
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    52
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    53
</div><!-- End demo-description -->
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    54
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    55
</body>
cc4a51750724 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    56
</html>