100分请教如何实现这样的功能

tababy 2003-04-28 10:25:24
像网站左边可以缩进的窗口
http://www.5inet.net/bbs/frame.asp?url=http://www.5inet.net/bbs/index.asp
...全文
43 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
fason 2003-04-28
  • 打赏
  • 举报
回复
你这里的
function hidetoc()
{
strColumns_Current = top.mainframeset.cols

top.mainframeset.cols = "1,*";
top.contentbar.document.all("showtoc").style.display = "block";
}

function showtoc()
{
top.mainframeset.cols = strColumns_Current;
top.contentbar.document.all("showtoc").style.display = "none";
}
wsj 2003-04-28
  • 打赏
  • 举报
回复
<frameset cols="160,*" framespacing="0" frameborder="no" id="b">
<frameset cols="*,8" name="leftmenu" scrolling="auto" marginwidth="0" marginheight="0" id="c">
<frame src="leftbar.asp" name="leftmenu" scrolling="auto" marginwidth="0" marginheight="0" id="l">
<frame src="mid.asp" name="leftbar" scrolling="no" marginwidth="0" marginheight="0" id="m">
</frameset>
<frameset rows="30,*" frameborder="NO" border="0" framespacing="0">
<frame src="topbar.asp" name="topbar" scrolling="NO" noresize >
<frame src="http://www.5inet.net/bbs/index.asp" name="forum_main" scrolling="auto" marginwidth="0" marginheight="0">
</frameset>

mid.asp
----

<script>
function hide()
{
var o = document.images[0];
top.b.cols='8,*';top.c.cols='0,*';
o.src="pic/l.gif";
document.all.className='r';
}
function show()
{
var o = document.images[0];
top.b.cols='160,*';top.c.cols='133,11';
o.src="pic/r.gif";
document.all.className='l';
}
function act(e)
{
var o = document.images[0];
if(o.src.match("pic/r.gif")!=null)
{
hide();
}
else
{
show();
}
}
document.oncontextmenu=new Function('event.returnValue=false;');
document.onselectstart=new Function('event.returnValue=false;');
function window.onload()
{
if(screen.Width>800){show();}else{hide();}
}
</script>
</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" scroll=no>
<div align=left>
<table width="10" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="10" align="left" valign="middle"><a href="#" onClick="act(this);" id="T" title="改变框架的排列方式" class=l onMouseover="this.style.background='#B1CBFA';" onMouseOut="this.style.background='silver';"><span style="border-top:1px solid white;border-right:1px solid white;height:58px;padding-top:17px;padding-left:1px;"><img src=pic/r.gif border=0 id="O" width="4" height="7"></span></a></td>
</tr>
</table>
</div>
</body>
fason 2003-04-28
  • 打赏
  • 举报
回复
http://expert.csdn.net/Expert/topic/1614/1614192.xml?temp=.3286859
内容概要:本文研究了基于麻雀优化算法(SSA)优化CNN-BiLSTM-Attention混合模型的风电功率预测方法,采用多变量输入实现单步预测。通过SSA算法对模型的关键超参数进行智能寻优,有效提升了预测的精度与鲁棒性。该混合模型充融合了卷积神经网络(CNN)的局部特征提取能力、双向长短期记忆网络(BiLSTM)对时序数据前后依赖关系的建模优势,以及注意力(Attention)机制对关键时间步特征的自适应加权聚焦能力,能够深入挖掘风电数据中复杂的非线性动态特性与时序关联模式。研究在Matlab平台上完成了完整的代码实现,并通过严谨的实验验证了所提方法在风电功率预测任务中相较于传统模型的优越性能。; 适合人群:具备一定机器学习与深度学习理论基础,熟悉Matlab编程环境,从事新能源发电预测、电力系统调度、智能优化算法应用或相关领域研究的科研人员、工程技术人员及高年级研究生。; 使用场景及目标:①应用于风电场实际运行中的短期功率单步预测,为电网调度决策提供高精度数据支持,提升新能源消纳能力和系统运行稳定性;②为深度学习模型的超参数优化提供一种高效的智能算法应用范例;③作为融合多种先进神经网络结构与元启发式优化算法的综合性研究案例,服务于学术科研复现、技术创新与教学实践。; 阅读建议:建议读者结合提供的Matlab代码,深入理解从数据预处理、模型构建、SSA优化流程到结果析的完整技术链条,重点关注多变量特征选择、网络结构设计细节及注意力机制的实现原理,并可通过替换数据集或调整模型组件来进一步拓展研究深度与应用广度。

87,987

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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