1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
4 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5 <title>Hello World Dialog Example</title>
6 <link rel="stylesheet" type="text/css" href="../../css/roojs-debug.css"/>
7 <link rel="stylesheet" type="text/css" href="../../css/xtheme-slate.css"/>
9 <script type="text/javascript" src="../../roojs-debug.js"></script>
11 <script language="javascript" src="test.js"></script>
13 <!-- Common Styles for the examples -->
14 <link rel="stylesheet" type="text/css" href="../examples.css" />
17 <script type="text/javascript" src="../examples.js"></script><!-- EXAMPLES -->
19 <h1>Hello World Dialog</h1>
20 <p>This example shows how to create a very simple modal BasicDialog with "autoTabs".</p>
21 <input type="button" id="show-dialog-btn" value="Hello World" /><br /><br />
22 <p>Note that the js is not minified so it is readable. See
23 <button type="button" onclick="RooDocs.viewSource.show('/test.js')">test.js</button>for the full source code.</p>
25 <!-- The dialog is created from existing markup.
26 The inline styles just hide it until it created and should be in a stylesheet -->
27 <div id="hello-dlg" style="visibility:hidden;position:absolute;top:0px;">
28 <div class="x-dlg-hd">Hello Dialog</div>
29 <div class="x-dlg-bd">
30 <!-- Auto create tab 1 -->
31 <div class="x-dlg-tab" title="Hello World 1">
32 <!-- Nested "inner-tab" to safely add padding -->
33 <div class="inner-tab">
37 <!-- Auto create tab 2 -->
38 <div class="x-dlg-tab" title="Hello World 2">
39 <div class="inner-tab">