File: stacking.html

package info (click to toggle)
jqueryui 1.13.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 4,916 kB
  • sloc: javascript: 52,482; php: 584; xml: 104; makefile: 76
file content (46 lines) | stat: -rw-r--r-- 1,260 bytes parent folder | download | duplicates (7)
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
37
38
39
40
41
42
43
44
45
46
<!doctype html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<title>Dialog Visual Test</title>
	<link rel="stylesheet" href="../../../themes/base/all.css">
	<script src="../../../external/requirejs/require.js"></script>
	<script src="../../../demos/bootstrap.js">
		var iframeDialog = $( "#dialog-iframe" ).dialog({
				position: {
					my: "right-90 center"
				},
				height: 400
			}),

			scrollingDialog = $( "#dialog-scrolling" ).dialog({
				maxHeight: 200,
				position: {
					my: "left+90 center"
				}
			}),

			otherDialog = $( "#dialog-other" ).dialog({
				width: 200,
				height: 150
			});
	</script>
</head>
<body>

<p>WHAT: Two dialogs, one embedding an iframe, one having just scrollable content.</p>
<p>EXPECTED: When focusing on one or the other dialog, it shouldn't affect how the content is displayed on the other dialog. It shouldn't reload the iframe or reset the scroll.</p>


<div id="dialog-iframe" title="Dialog that embeds an iframe">
	<iframe src="animated.html" height="400"></iframe>
</div>

<div id="dialog-scrolling" title="Dialog with scroll">
	<p style="height:600px;background:#eee">a bunch of content</p>
</div>

<div id="dialog-other" title="placeholder">Just another dialog to test stacking</div>

</body>
</html>