source: main/trunk/greenstone3/web/interfaces/oran/js/jquery-ui-1.8rc1/demos/dialog/default.html@ 24245

Last change on this file since 24245 was 24245, checked in by sjb48, 13 years ago

Oran code for supporting format changes to document.

  • Property svn:executable set to *
File size: 2.3 KB
Line 
1<!doctype html>
2<html lang="en">
3<head>
4 <title>jQuery UI Dialog - Default functionality</title>
5 <link type="text/css" href="../../themes/base/ui.all.css" rel="stylesheet" />
6 <script type="text/javascript" src="../../jquery-1.4.1.js"></script>
7 <script type="text/javascript" src="../../external/jquery.bgiframe-2.1.1.js.js"></script>
8 <script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
9 <script type="text/javascript" src="../../ui/jquery.ui.widget.js"></script>
10 <script type="text/javascript" src="../../ui/jquery.ui.mouse.js"></script>
11 <script type="text/javascript" src="../../ui/jquery.ui.draggable.js"></script>
12 <script type="text/javascript" src="../../ui/jquery.ui.position.js"></script>
13 <script type="text/javascript" src="../../ui/jquery.ui.resizable.js"></script>
14 <script type="text/javascript" src="../../ui/jquery.ui.dialog.js"></script>
15 <link type="text/css" href="../demos.css" rel="stylesheet" />
16 <script type="text/javascript">
17 $(function() {
18 $("#dialog").dialog();
19 });
20 </script>
21</head>
22<body>
23
24<div class="demo">
25
26<div id="dialog" title="Basic dialog">
27 <p>This is the default dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon.</p>
28</div>
29
30<!-- Sample page content to illustrate the layering of the dialog -->
31<div class="hiddenInViewSource" style="padding:20px;">
32<p>Sed vel diam id libero <a href="http://example.com">rutrum convallis</a>. Donec aliquet leo vel magna. Phasellus rhoncus faucibus ante. Etiam bibendum, enim faucibus aliquet rhoncus, arcu felis ultricies neque, sit amet auctor elit eros a lectus.</p>
33<form>
34 <input value="text input" /><br />
35 <input type="checkbox" />checkbox<br />
36 <input type="radio" />radio<br />
37 <select>
38 <option>select</option>
39 </select><br /><br />
40 <textarea>textarea</textarea><br />
41</form>
42</div><!-- End sample page content -->
43
44</div><!-- End demo -->
45
46<div class="demo-description">
47
48<p>The basic dialog window is an overlay positioned within the viewport and is protected from page content (like select elements) shining through with an iframe. It has a title bar and a content area, and can be moved, resized and closed with the 'x' icon by default.</p>
49
50</div><!-- End demo-description -->
51
52</body>
53</html>
Note: See TracBrowser for help on using the repository browser.