Frameworks| Hibernate| Struts| JSF| JavaFX| Ajax| Spring| DOJO| JDO| iBatis| Questions?

 

 

 

 

 

 

 

 

 

 

 

 

 

Search Tutorials

Latest Questions
Comments
 
Dojo BorderContainer 
 

In this section, you will learn about the dojo BorderContainer.

 

Dojo BorderContainer

                         

In this section, you will learn about the dojo BorderContainer.

BorderContainer: This is a container that operates in a choice of two layout modes: 1. The design attribute may be set to "headline" (by default) or 2. "sidebar". The "headline" layout extends the top and bottom regions of entire width of the box . And the remaining regions are placed in the middle or center. The "sidebar" layout, the side panels take priority to extend the full height of the box.

Try Online: BorderContainer

 

 

 

Here is the code for BorderContainer Example:

<html>
<head>

<title>Layout Container Example</title>
    <style type="text/css">
        @import "../dijit/themes/tundra/tundra.css";
        @import "/resources/dojo.css"
    </style>
    <script type="text/javascript" src="http://o.
aolcdn.com/dojo/1.1/dojo/dojo.xd.js"

        djConfig="parseOnLoad: true"></script>

    <script type="text/javascript">
        dojo.require("dojo.parser");
        dojo.require("dijit.layout.ContentPane");
        dojo.require("dijit.layout.BorderContainer");
     </script>
</head>

<body class="tundra">

  <div dojoType="dijit.layout.BorderContainer" design="screenDesign">

     <div dojoType="dijit.layout.ContentPane" id="top" 
region="top" style="background-color:gray">
       <h3> Roseindia Technology Pvt. Ltd.</h3>
     </div>

     <div dojoType="dijit.layout.ContentPane" id="left" region="left" 
      style="background-color:lightblue;width: 125px;">
      <B>Tutorials List</B>
        <ul>
          <li>Struts2</li>
          <li>JSP</li>
          <li>Servlets</li>
          <li>EJB</li>
          <li>Hibernate</li>
         </ul>

    </div>

    <div dojoType="dijit.layout.ContentPane" id="center" region="center"
      style="background-color:white">
        <blockquote>Introduction</a>
          <ol>
            <li>Short description</li>
            <li>Brief description </li>
            <li>Running Examples</li>
          </ol>
        </blockquote>
    </div>

    <div dojoType="dijit.layout.ContentPane" id="right" region="right"
      style="background-color:pink; width: 130px;">
      <p><B>Advertisement</B></p>
      <img src="advertisement.gif" align="right"/>
    </div>

  </div> 
  
</body>
</html>

Output of BorderContainer :

 

Try Online:

                         

Leave your comment:

Name:

Email:

URL:

Title:

Comments:


Enter Code:

Audio Version
Reload Image
 

Note: Emails will not be visible or used in any way, and are not required. Please keep comments relevant. Any content deemed inappropriate or offensive may be edited and/or deleted.

No HTML code is allowed. Line breaks will be converted automatically. URLs will be auto-linked. Please use BBCode to format your text.

Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
  JDO Tutorials
  EAI Articles
  Struts Tutorials
  Java Tutorials
  Java Certification

Tell A Friend
Your Friend Name
Search Tutorials

 

 
 
Browse all Java Tutorials
Java JSP Struts Servlets Hibernate XML
Ajax JDBC EJB MySQL JavaScript JSF
Maven2 Tutorial JEE5 Tutorial Java Threading Tutorial Photoshop Tutorials Linux Technology
Technology Revolutions Eclipse Spring Tutorial Bioinformatics Tutorials Tools SQL
 

Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs

About Us | Advertising On RoseIndia.net  | Site Map

India News

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2007. All rights reserved.