鼠标使图片变化导航.doc_第1页
鼠标使图片变化导航.doc_第2页
鼠标使图片变化导航.doc_第3页
鼠标使图片变化导航.doc_第4页
鼠标使图片变化导航.doc_第5页
已阅读5页,还剩43页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

脚本说明:第一步:把如下代码加入区域中.table1 BORDER-RIGHT: #cccccc 1px solid; BORDER-BOTTOM-COLOR: black; BORDER-LEFT: #cccccc 1px solid; BORDER-TOP-STYLE: solid; BORDER-TOP-COLOR: black; BACKGROUND-COLOR: #666666; BORDER-BOTTOM-STYLE: solid.alp FILTER: Alpha(Opacity=0,FinishOpacity=0, Style=2, StartX=0, StartY=0, FinishX=80, FinishY=80); BACKGROUND-COLOR: #99ccff.maskl OVERFLOW: hidden.submenu BORDER-RIGHT: #ffffff 1px solid; BORDER-TOP: #ffffff 1px solid; BORDER-LEFT: black 0px solid; BORDER-BOTTOM: #ffffff 1px solidfunction subClose1()if(sub2.style.pixelLeft-26)sub2.style.pixelLeft-;setTimeout(subClose1(),1);elsesub2.style.pixelLeft=-26;subMenuShowing=false;hideM2();subMenuShowing=false;function subMenu1()var obj=event.srcElement;subMenuShowing=true;sub2out(); function sub2out()if(sub2.style.pixelLeft2)sub2.style.pixelLeft+;setTimeout(sub2out(),1);curSelect=0;function showMenu(mID)var oMenu=eval(menu+mID);var oCircle=eval(sl+mID);oMenu.style.pixelTop+=10;if(oMenu.style.pixelTop-60) oMenu.timeHandle=setTimeout(hideMenu(+mID+),1);else oMenu.style.pixelTop=-80;function lightMv()if(light.filters.Alpha.opacity0) light.filters.Alpha.opacity-=5;light.timeHandle=setTimeout(darkMv(),1); function sfMv1()sl1.style.pixelTop+=sl1.mvStep;if (sl1.dx+)20) sl1.mvStep=-sl1.mvStep;sl1.dx=0;sl1.speed=parseInt(Math.random(1)*60+1)sl1.timeHandle=setTimeout(sfMv1(),sl1.speed);function sfMv2()sl2.style.pixelTop+=sl2.mvStep;if (sl2.dx+)20) sl2.mvStep=-sl2.mvStep;sl2.dx=0;sl2.speed=parseInt(Math.random(1)*60+1)sl2.timeHandle=setTimeout(sfMv2(),sl2.speed);function sfMv3()sl3.style.pixelTop+=sl3.mvStep;if (sl3.dx+)20) sl3.mvStep=-sl3.mvStep;sl3.dx=0;sl3.speed=parseInt(Math.random(1)*60+1)sl3.timeHandle=setTimeout(sfMv3(),sl3.speed);function sfMv4()sl4.style.pixelTop+=sl4.mvStep;if (sl4.dx+)20) sl4.mvStep=-sl4.mvStep;sl4.dx=0;sl4.speed=parseInt(Math.random(1)*60+1)sl4.timeHandle=setTimeout(sfMv4(),sl4.speed);function stopAllMv()clearTimeout(sl1.timeHandle);clearTimeout(sl2.timeHandle);clearTimeout(sl3.timeHandle);clearTimeout(sl4.timeHandle);function startAllMv()clearTimeout(light.timeHandle);darkMv();sfMv1();sfMv2();sfMv3();sfMv4();function showM1()if(!subMenuShowing)stopAllMv();light.style.pixelTop=sl1.style.pixelTop-30;clearTimeout(light.timeHandle);clearTimeout(menu1.timeHandle);lightMv();showMenu(1);function showM2()if(!subMenuShowing)stopAllMv();light.style.pixelTop=sl2.style.pixelTop-30;clearTimeout(light.timeHandle);clearTimeout(menu2.timeHandle);lightMv();showMenu(2);function showM3()if(!subMenuShowing)stopAllMv();light.style.pixelTop=sl3.style.pixelTop-30;clearTimeout(light.timeHandle);clearTimeout(menu3.timeHandle); lightMv();showMenu(3);function showM4()if(!subMenuShowing)stopAllMv();light.style.pixelTop=sl4.style.pixelTop-30;clearTimeout(light.timeHandle);clearTimeout(menu4.timeHandle);lightMv();showMenu(4);function hideM1()if (!subMenuShowing)startAllMv();clearTimeout(menu1.timeHandle);hideMenu(1);function hideM2()if (!subMenuShowing)startAllMv();clearTimeout(menu2.timeHandle);hideMenu(2);function hideM3()if (!subMenuShowing)startAllMv();clearTimeout(menu3.timeHandle);hideMenu(3);function hideM4()if (!subMenuShowing)startAllMv();clearTimeout(menu4.timeHandle);hideMenu(4);function ini

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论