使用dreamweaver中的行为做导航,为什么鼠标移动时会一直闪?

qwr123_2 2014-01-25 01:24:17
代码如下“
<%@LANGUAGE="JAVASCRIPT" CODEPAGE="936"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<style type="text/css">
<!--
#apDiv1 {
position:absolute;
width:905px;
height:34px;
z-index:1;
left: 210px;
top: 10px;
}
#cd21 {
position:absolute;
width:2014px;
height:65px;
z-index:2;
left: -5px;
top: 41px;
visibility: hidden;
}
#cd111 {
position:absolute;
width:157px;
height:33px;
z-index:3;
top: 8px;
left: 210px;
visibility: hidden;
}

}
#apDiv2 {
position:absolute;
width:814px;
height:47px;
z-index:4;
left: 168px;
top: 136px;
}
#apDiv3 {
position:absolute;
width:148px;
height:25px;
z-index:5;
left: 179px;
top: 146px;
background-color: #FF33FF;
visibility: hidden;
}
#apDiv4 {
position:absolute;
width:1080px;
height:62px;
z-index:6;
left: 0px;
top: 164px;
visibility: hidden;
background-color: #FF66FF;
}
-->
</style>
<script type="text/javascript">
<!--
function MM_showHideLayers() { //v9.0
var i,p,v,obj,args=MM_showHideLayers.arguments;
for (i=0; i<(args.length-2); i+=3)
with (document) if (getElementById && ((obj=getElementById(args[i]))!=null)) { v=args[i+2];
if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
obj.visibility=v; }
}
//-->
</script>
</head>

<body background="images/2.jpg">
<div id="apDiv1">
<table width="905" height="33" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="156" align="center" id="cd11" onmouseover="MM_showHideLayers('cd111','','show','cd21','','show')" onmouseout="MM_showHideLayers('cd111','','hide');MM_showHideLayers('cd21','','hide')"><font color="#FFFFFF" >时尚背包</font></td>
<td width="206" align="center" >最新简讯</font></td>
<td width="181" align="center" >新品推荐</font></td>
<td width="181" align="center" >分类产品</font></td>
<td width="181" align="center" >我的背包</font></td>
</tr>
</table>
</div>

<div id="cd111"><img src="images/452.png" width="153" height="33" /></div>

<div id="cd21"><img src="images/452.png" width="2014" height="65" /></div>
</body>
</html>
...全文
207 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
qwr123_2 2014-01-25
  • 打赏
  • 举报
回复
闪的就是那个,但我是想添加动态菜单的行为,去了就没效果了。大神,该怎么办啊?
蝶恋花雨 2014-01-25
  • 打赏
  • 举报
回复
<td width="156" align="center" id="cd11" onmouseover="MM_showHideLayers('cd111','','show','cd21','','show')" onmouseout="MM_showHideLayers('cd111','','hide');MM_showHideLayers('cd21','','hide')" 先把这些动作去掉你看看还闪不
内容概要:本文介绍了一种基于多目标粒子群算法(MOPSO)的微电网优化调度模型,综合考虑风能、光伏、储能系统、柴油发电机、燃气轮机以及与主电网之间的能量交互等多种分布式能源的协同运行。通过构建以运行成本最小化、碳排放最低化和系统可靠性最优化为目标的多目标优化模型,利用Matlab平台实现MOPSO算法求解,完成对微电网在不同运行场景下的能量管理与调度方案优化。该模型能够有效平衡经济性与环保性之间的关系,适用于含多类型分布式电源的复杂微电网系统,具有较强的工程应用价值和科研参考意义; 适合人群:具备一定电力系统基础知识和Matlab编程能力的研究生、科研人员及工程技术人员,尤其适合从事微电网、智能电网、综合能源系统、可再生能源集成与优化调度等领域研究的专业人士; 使用场景及目标:①用于多能源耦合微电网系统的协同优化调度研究;②支持多目标智能优化算法在能源系统的建模与求解实践,帮助用户掌握MOPSO在实际工程问题的应用方法;③为学术论文复现、毕业设计、科研项目开发提供完整的代码实例与技术支撑; 阅读建议:建议读者结合Matlab代码与理论文档,深入理解目标函数构建、约束条件处理及Pareto最优解集生成机制,重点关注算法参数设置、多目标权衡分析与结果可视化,并可通过调整能源配置或引入新约束进行二次开发与创新研究。

61,120

社区成员

发帖
与我相关
我的任务
社区描述
层叠样式表(英文全称:Cascading Style Sheets)是一种用来表现HTML(标准通用标记语言的一个应用)或XML(标准通用标记语言的一个子集)等文件样式的计算机语言。
社区管理员
  • HTML(CSS)社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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