<! Doctype HTML public "-// W3C // dtd html 4.01 transitional // en">
<HTML>
<Head>
<Title> file.html </title>
<Meta http-equiv = "Content-Type" content = "text/html; charset = UTF-8">
<SCRIPT src = "../dojo. js" djconfig = "isdebug: false, parseonload: True" type = "text/JavaScript"> </SCRIPT>
<SCRIPT type = "text/JavaScript" src = "../dojo/dijit/tests/_ testcommon. js"> </SCRIPT>
<Style type = "text/CSS">
@ Import "../dojo/resources/dojo.css ";
@ Import "../dojo/dijit/tests/CSS/dijittests.css ";
Body {font-family: sans-serif ;}
FORM {margin-bottom: 0 ;}
Table {border: none ;}
</Style>
<SCRIPT type = "text/JavaScript">
Dojo. Require ("dijit. Form. Button ");
Dojo. Require ("dijit. Form. textbox ");
Dojo. Require ("dijit. Dialog ");
Dojo. Require ("dijit. layout. tabcontainer ");
Dojo. Require ("dijit. layout. contentpane ");
Dojo. Require ("dojo. parser ");
Dojo. Require ("dijit. layout. bordercontainer ");
</SCRIPT>
<SCRIPT type = "text/JavaScript">
Function showdialog (){
// Alert ("SDL ");
Dijit. byid ("bordercontainer"). Show ();
}
</SCRIPT>
<! -- <LINK rel = "stylesheet" type = "text/CSS" href = "./styles.css"> -->
</Head>
<Body class = "Soria">
<Div>
<Div style = "float: Left; padding: 10px">
<Button type = "button" dojotype = "dijit. Form. Button" onclick = "showdialog ()" style = "padding: 1 0 1 0">
Show bordercontainer Dialog
</Button>
</Div>
<Div style = "clear: Left"> </div>
</Div>
<! -- Dialog: Split dialog [Style = "visibility: hidden" is very important] -->
<Div dojotype = "dijit. dijit" id = "bordercontainer" Title = "tabcontainer diiner" style = "visibility: hidden">
<Div class = "BC" dojotype = "dijit. layout. bordercontainer" style = "width: 400px; Height: 400px;">
<Div dojotype = "dijit. layout. contentpane" region = "TOP" splitter = "true">
<Input type = "text" name = "test" id = "test" dojotype = "dijit. Form. textbox" style = "font-size: 14px">
<Button type = "button" dojotype = "dijit. form. button "onclick =" dijit. byid ('message '). show () "style =" padding: 1 0 1 0 ">
Submit
</Button>
<Br/> & nbsp;
<Div dojotype = "dijit. dijit" id = "message" Title = "message">
Message!
</Div>
</Div>
<Div dojotype = "dijit. layout. contentpane" region = "center">
<Div dojotype = "dijit. layout. tabcontainer" style = "width: 400px; Height: 400px;">
<Div dojotype = "dijit. layout. contentpane" Title = "first tab">
<Div style = "float: Left; padding: 10px; clear: Left">
<Form name = "f1" id = "f1" Action = "" method = "Post">
<Table border = "0">
<Tr>
<TD>
Login:
</TD>
<TD>
<Input type = "text" name = "login" id = "login" dojotype = "dijit. Form. textbox" style = "font-size: 14px">
</TD>
</Tr>
<Tr>
<TD>
Password:
</TD>
<TD>
<Input type = "file" name = "file" id = "file" dojotype = "dijit. Form. textbox" style = "font-size: 14px">
</TD>
</Tr>
<Tr>
<TD colspan = "2" align = "center">
<Button type = "button" dojotype = "dijit. Form. Button" onclick = "alert ('sdl ')" style = "padding: 1 0 1 0">
Submit
</Button>
</TD>
</Tr>
</Table>
</Form>
</Div>
</Div>
<Div dojotype = "dijit. layout. contentpane" Title = "second tab" href = "message.html">
</Div>
</Div>
</Div>
</Div>
</Div>
</Body>
</Html>