社区
JavaScript
帖子详情
求代码或解决方法.
huisheng
2004-07-08 01:23:11
我想做一个像csdn 的左边菜单一样的菜单..
能显示.隐藏.
左边菜单内部的就不要了.
谢谢
我在线...
...全文
73
6
打赏
收藏
求代码或解决方法.
我想做一个像csdn 的左边菜单一样的菜单.. 能显示.隐藏. 左边菜单内部的就不要了. 谢谢 我在线...
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
6 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
wanghr100
2004-07-08
打赏
举报
回复
demo.htm
<frameset cols="92,*" id="baobao">
<frame src="left.htm" name="leftFrame" scrolling="NO" >
<frame src="main.htm" name="mainFrame">
</frameset>
left.htm
Left..
main.htm
<input type=button onclick="window.parent.baobao.cols='0,100%'" value="隐藏">
<input type=button onclick="window.parent.baobao.cols='92,*'" value="显示">
huisheng
2004-07-08
打赏
举报
回复
如何设置<IFRAME>的自动高度设置为100%就什么也没有了
青团子
2004-07-08
打赏
举报
回复
<SCRIPT language="Javascript">
function switchSysBar(){
if (switchPoint.innerText==3){
switchPoint.innerText=4
document.all("mnuList").style.display="none"
}
else{
switchPoint.innerText=3
document.all("mnuList").style.display=""
}
}
function switchSysBar1(){
if (switchPoint1.innerText==5){
switchPoint1.innerText=6
document.all("ThisTitle").style.display="none"
}
else{
switchPoint1.innerText=5
document.all("ThisTitle").style.display=""
}
}
</SCRIPT>
<TABLE height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0" ID="Table1">
<TBODY>
<TR>
<TD id="ThisTitle" vAlign="center" noWrap align="middle" width="100%" colSpan="3" height="15%"><IFRAME name="banner" src="上部导航栏页面相对路径和名称" frameBorder="0" width="100%" scrolling="no" height="100%" target="contents"></IFRAME></TD>
<TR>
<TD id="mnuList" vAlign="center" noWrap align="middle" width="15%" height="100%"><IFRAME id="left" name="left" src="左面树桩菜单页面相对路径和名称" frameBorder="0" width="100%" scrolling="no" height="100%" target="main"></IFRAME>
<TD width="1%" bgColor="#005d99" height="100%">
<TABLE height="100%" cellSpacing="0" cellPadding="0" border="0" ID="Table2">
<tr>
<TD onclick="switchSysBar1()" valign="bottom" width="100%" height="1" bgColor="#f8f8f8" colSpan="1" rowSpan="1"><font style="FONT-SIZE: 9pt; CURSOR: hand; COLOR: #72b2fa; FONT-FAMILY: Webdings"><SPAN id="switchPoint1" title="打开/关闭上边导航栏">5</SPAN></font></TD>
</tr>
<tr>
<TD onclick="switchSysBar()" width="3" valign="top" height="50%" bgColor="#f8f8f8"><font style="FONT-SIZE: 9pt; CURSOR: hand; COLOR: #72b2fa; FONT-FAMILY: Webdings"><SPAN id="switchPoint" title="打开/关闭左边导航栏">3</SPAN></font></TD>
</tr>
</TABLE>
</TD>
<TD height="100%"><IFRAME id="main" name="FrmRight" src="右边主页面相对路径和名称" frameBorder="0" width="100%" scrolling="yes" height="100%"></IFRAME></TD>
</TR>
</TBODY></TABLE>
gjd111686
2004-07-08
打赏
举报
回复
左边用http://fason.nease.net/的树吧!
gjd111686
2004-07-08
打赏
举报
回复
<style>
.SwitchClass{color:black;cursor:hand;font-family:webdings;font-size:9pt}
</style>
<body>
<script language="javascript">
function SwitchMenuStatus()
{
if(SwitchMenu.innerText==3)
{
SwitchMenu.innerText=4;
document.all("Menu").style.display="none";
}
else
{
SwitchMenu.innerText=3;
document.all("Menu").style.display="";
}
}
function OpenMenu()
{
if(SwitchMenu.innerText==4)
{
SwitchMenu.innerText=3;
document.all("Menu").style.display="";
}
else
{
SwitchMenu.innerText=3;
document.all("Menu").style.display="";
}
}
</script>
<table width="100%" border="1" cellpadding="3" cellspacing="0" height="100%" bordercolor="#EEEEEE" bordercolordark="#FFFFFF" bordercolorlight="#999999">
<tr>
<td id=Menu name="Menu" vAlign=top align=left>
<iframe src="about:blank" style="height:100%;visibility:inherit;width:100" border="0" frameborder=0></iframe>
</td>
<td width="5" height="100%" onmouseover="OpenMenu();">
<table border=0 cellPadding=0 cellSpacing=0>
<tr>
<td style="height: 100%;" valign=middle onclick="SwitchMenuStatus();">
<span class=SwitchClass id=SwitchMenu title="关闭/打开菜单">3</span>
</td>
</tr>
</table>
</td>
<td id=Home name="Home" vAlign=top align=left width="100%">
<iframe src="about:blank" style="height:100%;visibility:inherit;width:100%" border="0" frameborder=0></iframe>
</td>
<tr>
</table>
huisheng
2004-07-08
打赏
举报
回复
没人帮我.自己UP
2小时学会电商订单提交CORS跨域
解决
方法
dubbo,redis,solr,freemarker,activeMQ,springBoot框架,微信支付,nginx负载均衡,电商活动秒杀,springSecurity安全框架,FastDFS分布式文件服务器,还会涉及到
代码
生成器, 前台的技术有angularJS和...
无法访问网内计算机错误
代码
,电脑局域网无法访问共享ox80070035错误
代码
解决
方法
...
在同一个网络下操作电脑的用户通常都会建议一个局域网共享设置,这样能够方便用户进行文件的共享,但是最近有些用户在使用电脑进行共享文件时就出现了局域网无法访问共享,同时提示错误
代码
ox80070035,对此有什么
方法
能够来
解决
呢?下面小编就来告诉大家电脑局域网无法访问共享ox80070035错误
代码
解决
方法
。具体
方法
:一、必须确保有关打印功能的相关服务都处于自动启动状态,重点检查TCP/IP NetB...
由于找不到MSVCR110.dll,无法继续执行
代码
........启动的
解决
方法
wamp启动丢失msvcr110.dll、vcruntime140.dll等文件的
解决
方法
第一种
方法
:到wampserver官网根据自己电脑的位数,下载vcredist_x64.exe或vcredist_x86.exe程序安装,然后把wampserver卸载,重新安装打开即可第二种
方法
:如果第一种
方法
不行的,那么就用这种
方法
,简单除暴,保准行!那就是直接下载微软的vc运行集成库,把vc库都一下安装
电脑蓝屏
代码
116是什么?Win7电脑出现蓝屏
代码
116(nvlddmkm.sys)的
解决
方法
有的时候遇到蓝屏了不知道如何
解决
,不论是配置高者其它其它都会遇到蓝屏; 所以也就见怪不怪了。 今天有个知乎小伙伴私信问到我开机就出现了蓝屏
代码
:0x000000116怎么办?那现在就随小编一起去看看Win7电脑出现蓝屏
代码
116(nvlddmkm.sys)的
解决
方法
。 蓝屏
代码
116(nvlddmkm.sys)的原因: 一、原因概述: 1、显卡版本不够,不支持你的游戏。 2、驱动版本不适合。 3、显卡缓存过多。 4、缺少nvlddmkm.sys文件。 5、cPU过载。 .
系统出现0x80004005错误
代码
快速
解决
方法
0x80004005错误
代码
是亲们在使用电脑时常常遇到的问题,那么造成0x80004005错误
代码
的原因是什么呢?当大家碰到0x80004005错误
代码
的时候应该如何来
解决
呢?接下来小编就给大家带来系统出现0x80004005错误
代码
快速
解决
方法
。 1.使用组合快捷键win键+r键打开运行窗口。如下图所示 系统出现0x80004005错误
代码
快速
解决
方法
图1 2.在运行窗口中输入“r
JavaScript
87,904
社区成员
224,614
社区内容
发帖
与我相关
我的任务
JavaScript
Web 开发 JavaScript
复制链接
扫一扫
分享
社区描述
Web 开发 JavaScript
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章