收藏 分享(赏)

家政——刘广粉.ppt

上传人:fmgc7290 文档编号:8449480 上传时间:2019-06-28 格式:PPT 页数:21 大小:588.50KB
下载 相关 举报
家政——刘广粉.ppt_第1页
第1页 / 共21页
家政——刘广粉.ppt_第2页
第2页 / 共21页
家政——刘广粉.ppt_第3页
第3页 / 共21页
家政——刘广粉.ppt_第4页
第4页 / 共21页
家政——刘广粉.ppt_第5页
第5页 / 共21页
点击查看更多>>
资源描述

1、家政简单特效和数据库设计,网站中有许多js实现的特效,如下:上图就是网站底部滚动图片的瞬间,这种滚动效果是js实现的,其代码:,image/bottom1.jpg“image/bottom2.jpg“image/bottom3.jpg“image/bottom4.jpg“image/bottom5.jpg“image/bottom6.jpg“image/bottom7.jpg“image/bottom8.jpg“ var speed3=20 /速度,数值越大越慢 bdemo2.innerHTML=bdemo1.innerHTML function Marquee3() if(bdemo2.of

2、fsetWidth-bdemo.scrollLeft ,这部分就是实现滚动的js代码,下图是首页图片刷新的js特效,其代码:,0) fplist0=(PInfo)fplist.get(0); if(fplist.size()1) fplist1=(PInfo)fplist.get(1); if(fplist.size()2) fplist2=(PInfo)fplist.get(2); if(fplist.size()3) fplist3=(PInfo)fplist.get(3); if(fplist.size()4) fplist4=(PInfo)fplist.get(4);%,从数据库中查出

3、所有领导关怀的图片,初始化页面,first/showlingdaop.jsp?fpid=“ target=“_blank“ “ width=“468“ height=“270“ border=“0“ onMouseOver=“ClearTime();“ onMouseOut=“ImgChange()“ /first/showlingdaop.jsp?fpid=“ target=“_blank“ “ width=“468“ height=“270“ border=“0“ onMouseOver=“ClearTime();“ onMouseOut=“ImgChange()“ / , first/s

4、howlingdaop.jsp?fpid=“ target=“_blank“ “ width=“468“ height=“270“ border=“0“ onMouseOver=“ClearTime();“ onMouseOut=“ImgChange()“ /first/showlingdaop.jsp?fpid=“ target=“_blank“ “ width=“468“ height=“270“ border=“0“ onMouseOver=“ClearTime();“ onMouseOut=“ImgChange()“ /first/showlingdaop.jsp?fpid=“ tar

5、get=“_blank“ “ width=“468“ height=“270“ border=“0“ onMouseOver=“ClearTime();“ onMouseOut=“ImgChange()“ /, first/showlingdaop.jsp?fpid=“ target=“_blank“ class=“bla“first/showlingdaop.jsp?fpid=“ target=“_blank“ class=“bla“first/showlingdaop.jsp?fpid=“ target=“_blank“ class=“bla“first/showlingdaop.jsp?

6、fpid=“ target=“_blank“ class=“bla“first/showlingdaop.jsp?fpid=“ target=“_blank“ class=“bla“ ,12345first/showlingdao.jsp“更多, 4)n=0;ChangeStart(n); function ChangeStart(value)n = value;ImgSel(value);/图片切换LinkChange(value);/超链接切换BackImg(value);/小图片背景切换 ,用js控制图片不断刷新,显示图片,并且还设置了鼠标点击触发事件,/ 定时图片切换 function

7、 ImgSel(num)with(fc)filters0.Apply();/初始化滤镜for(var i = 0;i 5; i+) (i = num) ? (childNodesi.style.display = “block“) : (childNodesi.style.display = “none“);filters0.play();/滤镜使用 / 定时超链接切换 function LinkChange(num)with(con)for(var i = 0;i 5; i+) i = num?childNodesi.style.display = “block“:childNodesi.style.display = “none“; ,/ 定时小背景图片切换 function BackImg(len) for(var i=0;i ,数据库设计表整理,

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 企业管理 > 管理学资料

本站链接:文库   一言   我酷   合作


客服QQ:2549714901微博号:道客多多官方知乎号:道客多多

经营许可证编号: 粤ICP备2021046453号世界地图

道客多多©版权所有2020-2025营业执照举报