Add an HTML page and define frameset as follows:
<Frameset Cols = "*, 1024, *" frameborder = "no" border = "0" framespacing = "0">
<Frame src = "about: blank"> </frame>
<Frameset Cols = "178,10, *" frameborder = "no" border = "0" framespacing = "0" id = "mainframe">
<Frame src = "left. aspx" name = "Left" scrolling = "no" id = "Left" Title = "Left"/>
<Frame id = "leftbar" scrolling = "no" noresize = "" name = "switchleftframe" src = "switchleft.html"/>
<Frame src = "center. aspx" name = "center" id = "center" Title = "center" scrolling = "Auto"/>
</Frameset>
<Frame src = "about: blank"> </frame>
</Frameset>
<Noframes>
</Noframes>
Switchleft.html file:
<HTML>
<Head>
<Title> cssrain </title>
<Meta charset = "gb2312" content = "text/html;" http-equiv = "Content-Type"/>
<Script language = "JavaScript">
Function switchsysbar ()
{
If (parent.doc ument. getelementbyid ('mainframework'). Cols = "178,10 ,*")
{
Document. getelementbyid ('leftbar'). style. Display = "";
Parent.doc ument. getelementbyid ('mainframework'). Cols = "0, 10 ,*";
}
Else
{
Parent.doc ument. getelementbyid ('mainframework'). Cols = "178,10 ,*";
Document. getelementbyid ('leftbar'). style. Display = "NONE"
}
}
Function load ()
{
If (parent.doc ument. getelementbyid ('mainframework'). Cols = "178,10 ,*")
{
}
}
</SCRIPT>
</Head>
<Body marginwidth = "0" marginheight = "0" bgcolor = "#000000" onLoad = "load ()" topmargin = "0" leftmargin = "0">
<Center>
<Table Height = "100%" cellspacing = "0" cellpadding = "0" border = "0" width = "100%">
<Tbody>
<Tr>
<TD bgcolor = "# 009fef" width = "1">
</TD>
<TD id = "leftbar" bgcolor = "# f5f4f4" style = "display: none;">
<A onclick = "switchsysbar ()" href = "javascript: void (0);">
</A>
</TD>
<TD id = "rightbar" bgcolor = "# f5f4f4">
<A onclick = "switchsysbar ()" href = "javascript: void (0);">
</A>
</TD>
</Tr>
</Tbody>
</Table>
</Center>
</Body>
</Html>