跪求高手:网页调整大小

flashixj61 2005-04-06 09:34:20
框架网页, 左侧导航, 现想在其分割线处,做一按钮, 按一下, 右侧窗口调至满屏, 再按则恢复.
没什么思路, 求高手赐教.
不用框架也行,实现相同效果就可以了.
...全文
99 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
gatey 2005-04-06
  • 打赏
  • 举报
回复
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html;charset=gb2312">
<style type="text/css">.navPoint {COLOR: white; CURSOR: hand; FONT-FAMILY: Webdings; FONT-SIZE: 9pt}</style>
<script>
function switchSysBar(){
if (switchPoint.innerText==3){
switchPoint.innerText=4
document.all("frmTitle").style.display="none"
}else{
switchPoint.innerText=3
document.all("frmTitle").style.display=""
}}
</script>
<link href="inc/adminstyle.css" rel="stylesheet">


<body scroll=no topmargin=0 rightmargin=0 leftmargin=0>

<table border="0" cellPadding="0" cellSpacing="0" height="100%" width="100%">
<tr>
<td align="middle" id="frmTitle" noWrap vAlign="center" name="frmTitle">


<iframe frameBorder="0" id="carnoc" name="carnoc" scrolling=no src="admin_menu.asp" style="HEIGHT: 100%; VISIBILITY: inherit; WIDTH: 170px; Z-INDEX: 2">
</iframe>



</td>
<td class=a2 style="WIDTH: 9pt">
<table border="0" cellPadding="0" cellSpacing="0" height="100%">
<tr>
<td style="HEIGHT: 100%" onclick="switchSysBar()">
<font style="FONT-SIZE: 9pt; CURSOR: default; COLOR: #ffffff">
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<span class="navPoint" id="switchPoint" title="关闭/打开左栏">3</span><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
屏幕切换 </font></td>
</tr>
</table>
</td>
<td style="WIDTH: 100%">
<iframe frameBorder="0" id="main" name="main" scrolling="yes" src="admin.asp" style="HEIGHT: 100%; VISIBILITY: inherit; WIDTH: 100%; Z-INDEX: 1">
</iframe></td>
</tr>
</table>
</html>
hbhbhbhbhb1021 2005-04-06
  • 打赏
  • 举报
回复
写成3个框架,中间的框架小点,就是你要点的按钮
hfkj 2005-04-06
  • 打赏
  • 举报
回复
<script language=Javascript>
<!--
function showHideMenu() {
if (frmMenu.style.display=="") {
frmMenu.style.display="none"
switchPoint.innerText=4
}
else {
frmMenu.style.display=""
switchPoint.innerText=3
}
}

-->
</script>


<td style="WIDTH: 7pt" bgcolor="#FFFFFF" onClick="showHideMenu()" class=tblbody>
<span id="switchPoint" title="关闭/开启菜单栏" class="navPoint">3</span> </td>
underone 2005-04-06
  • 打赏
  • 举报
回复
style:display=none
楼上正解
sdliubo 2005-04-06
  • 打赏
  • 举报
回复
csdn的论坛就是这样的啊

用一个style:display=none就行了

28,406

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧