/public/javascripts/dojo/dijit/tests/layout/test_refreshOnShow.html
http://enginey.googlecode.com/ · HTML · 65 lines · 45 code · 15 blank · 5 comment · 0 complexity · a497b03d64865cf81357629357ce757b MD5 · raw file
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
- "http://www.w3.org/TR/html4/strict.dtd">
- <html>
- <head>
- <title>ContentPane Test</title>
- <style>
- @import "../../../dojo/resources/dojo.css";
- @import "../css/dijitTests.css";
- body {
- margin: 1em;
- padding: 1em;
- }
- .box {
- position: relative;
- background-color: white;
- border: 2px solid black;
- padding: 8px;
- margin: 4px;
- }
- </style>
-
- <!-- required: the default dijit theme: -->
- <link id="themeStyles" rel="stylesheet" href="../../../dijit/themes/tundra/tundra.css">
- <!-- required: dojo.js -->
- <script type="text/javascript" src="../../../dojo/dojo.js"
- djConfig="isDebug: true, parseOnLoad: true"></script>
- <!-- only needed for alternate theme testing: do NOT use in your code! -->
- <script type="text/javascript" src="../_testCommon.js"></script>
- <script type="text/javascript">
- dojo.require("dijit.dijit"); // optimize: load dijit layer
- dojo.require("dijit.layout.ContentPane");
- dojo.require("dijit.layout.TabContainer");
- dojo.require("dijit.layout.AccordionContainer");
- </script>
-
- </head>
- <body class="tundra">
-
- <h1 class="testTitle">Dijit layout.ContentPane tests</h1>
-
- <!-- works: -->
- <div dojoType="dijit.layout.TabContainer" style="height:200px;">
- <div dojoType="dijit.layout.ContentPane" href="_lorem.html" title="one" refreshOnShow="false"></div>
- <div dojoType="dijit.layout.ContentPane" href="_lorem.html" title="two" refreshOnShow="false"></div>
- <div dojoType="dijit.layout.ContentPane" href="_lorem.html" title="three" refreshOnShow="false"></div>
- </div>
- <!-- does not work yet: -->
- <div dojoType="dijit.layout.AccordionContainer" style="height:200px; width:400px;">
- <div dojoType="dijit.layout.AccordionPane" title="one" refreshOnShow="false" href="_lorem.html"></div>
- <div dojoType="dijit.layout.AccordionPane" title="two" refreshOnShow="true" href="_lorem.html"></div>
- <div dojoType="dijit.layout.AccordionPane" title="three" refreshOnShow="false" href="_lorem.html"></div>
- </div>
-
-
- </body>
- </html>