source: main/trunk/greenstone3/web/interfaces/oran/js/jquery-ui-1.8rc1/tests/visual/dialog/dialog_option_buttons_OK_Cancel.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: 1.2 KB
Line 
1<!doctype html>
2<html lang="en">
3<head>
4 <title>Dialog Visual Test : Dialog option buttons OK Cancel</title>
5 <link rel="stylesheet" href="../visual.css" type="text/css" />
6 <link rel="stylesheet" href="../../../themes/base/ui.all.css" type="text/css">
7 <script type="text/javascript" src="../../../jquery-1.4.1.js"></script>
8 <script type="text/javascript" src="../../../external/jquery.bgiframe-2.1.1.js"></script>
9 <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
10 <script type="text/javascript" src="../../../ui/jquery.ui.widget.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 <script type="text/javascript">
16 $(function() {
17 $("#dialog").dialog({
18 buttons: {
19 "OK": function() { $(this).dialog('close'); },
20 "Cancel": function() { $(this).dialog('close'); }
21 }
22 });
23 });
24 </script>
25</head>
26<body>
27
28<div id="dialog" title="Dialog Title">
29 <p>
30 Dialog Content
31 </p>
32</div>
33
34</body>
35</html>
Note: See TracBrowser for help on using the repository browser.