aboutsummaryrefslogtreecommitdiffstats
path: root/tests/visual/dialog.html
blob: 7429608e9d1cd01dd6d2ea6af0249f7cce75f732 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<!doctype html>
<html lang="en">
<head>
	<title>Simple Dialog</title>
	<link rel="stylesheet" href="all.css" type="text/css">
	<link rel="stylesheet" href="../../themes/base/ui.all.css" type="text/css">
	<script type="text/javascript" src="../../jquery-1.2.6.js"></script>
	<script type="text/javascript" src="../../ui/ui.core.js"></script>
	<script type="text/javascript" src="../../ui/ui.dialog.js"></script>
	<script type="text/javascript" src="../../ui/ui.draggable.js"></script>
	<script type="text/javascript" src="../../ui/ui.resizable.js"></script>
	<script type="text/javascript">
	$(function() {
		var dlg = $("#dlg").remove();
		$("#dialog").click(function() {
			dlg.appendTo('body').dialog({width: 600});
		});
	});
	</script>
</head>
<body>

<ul class="plugins">
<li class="plugin">
	Dialog
	<div id="dialog">
		<button>Open</button>
		<div id="dlg" title="Dialog Title">
			<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
		</div>
	</div>
</li>
</ul>

</body>
</html>