<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>【首页】</title>
<style type="text/css">
body{text-align:center}
.a2 {background-color:A4B6D7;}
.STYLE2{ color:a4b6d7; }
</style>
</head>
<body style="MARGIN: 0px" scroll=no onResize=javascript:parent.bbsleft.location.reload()>
<script>
if(self!=top){top.location=self.location;}
function switchSysBar(){
var obj=document.getElementById("switchPoint");
var ft =document.getElementsByTagName("*").frmTitle;
if (ft.style.display==""){
obj.innerHTML='<img src=./images/arrow_right.gif border=0>';
ft.style.display="none";
}else{
obj.innerHTML='<img src=./images/arrow_left.gif border=0>';
ft.style.display="";
}
}
</script>
<div style="border:1px solid #505050;margin:10px auto;width:990px;height:95%">
<table border="0" cellPadding="0" cellSpacing="0" height="100%" width="100%">
<tr>
<td align="middle" vAlign="center" id="frmTitle" style='display:'>
<iframe src="bbsleft.php" frameBorder="0" id="bbsleft" name="bbsleft" scrolling=no style="HEIGHT: 100%; VISIBILITY: inherit; WIDTH: 200px; Z-INDEX: 2">
</iframe>
</td>
<td bgcolor="A4B6D7" style="WIDTH: 9pt">
<table border="0" cellPadding="0" cellSpacing="0" height="100%">
<tr>
<td style="HEIGHT: 100%" onClick="switchSysBar()" align="center">
<font style="FONT-SIZE: 9pt; CURSOR: default; COLOR: #ffffff">
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<span id="switchPoint" title="关闭/打开左栏"><img src=./images/arrow_left.gif border=0></span><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
切<br>换 </font></td>
</tr>
</table>
</td>
<td style="WIDTH: 100%">
<iframe src="bbsright.php" frameborder="0" id="bbsright" name="bbsright" scrolling="yes" style="HEIGHT: 96%; VISIBILITY: inherit; WIDTH: 100%; Z-INDEX: 2"></iframe></td>
</tr>
</table>
</div>
<script>
if(window.screen.width<'1024'){switchSysBar()}
</script>
</body>
</html>
js左右伸缩效果(兼容ff/ie)
最新推荐文章于 2021-08-03 21:48:32 发布