The middle control block, which is actually an IFRAME, defines his width as 10.
Then in his inner JS, control about 2 iframe.
Copy Code code as follows:
function Switchsysbar () {
if (parent.document.getElementById (' ATTACHUCP '). cols== "160,10,*") {
document.getElementById (' Leftbar '). style.display= "";
Parent.document.getElementById (' ATTACHUCP '). cols= "0,10,*";
}
else{
Parent.document.getElementById (' ATTACHUCP '). cols= "160,10,*";
document.getElementById (' Leftbar '). style.display= "None"
}
}
<frameset id= "ATTACHUCP" framespacing= "0" border= "0" Frameborder= "No" cols= "160,10,*" rows= "*" > <frame scrolling= "yes" noresize= "" frameborder= "No" name= "LeftFrame" src= "test.html" > </frame> <frame id= "Leftbar" scrolling= "no" noresize= "" Name= "Switchframe" src= " Swich.html "> </frame> <frame scrolling=" yes "noresize=" "border=" 0 "name=" mainFrame "src=" http:// Www.jb51.net "> </frame> </frameset>