Use splitpane : SplitPane « Dojo toolkit « JavaScript Tutorial






<html>
  <head>
    <link rel="StyleSheet" type="text/css"
      href="js/dojo/dijit/themes/tundra/tundra.css">
    <script type="text/javascript">
      var djConfig = {
        baseScriptUri : "js/dojo/",
        parseOnLoad : true
      };
    </script>
    <script type="text/javascript" src="js/dojo/dojo/dojo.js"></script>
    <script>
       dojo.require("dojo.parser");
       dojo.require("dijit.layout.SplitContainer");
       dojo.require("dijit.layout.ContentPane");

    </script>
  </head>
  <body class="tundra">
    <div dojoType="dijit.layout.SplitContainer" 
         orientation="horizontal" 
         sizerWidth="10" activeSizing="true"
         style="border: 1px solid #FF00FF; width: 600px; height: 205px;">
                <div dojoType="dijit.layout.ContentPane" sizeMin="10" sizeShare="10">
                    <paragraph><b>Title</b></paragraph>Content
                </div>
                <div dojoType="dijit.layout.ContentPane" sizeMin="10" sizeShare="10">
                    <paragraph><b>SubTitle</b></paragraph>
                    Test<br>Test<br>Test<br>Test<br>Test<br>Test<br>Test<br>Test<br>
                </div>
        </div>
  </body>
</html>








29.85.SplitPane
29.85.1.Use splitpane
29.85.2.Use splitter content pane