欢迎来到天天文库
浏览记录
ID:14748234
大小:73.00 KB
页数:37页
时间:2018-07-30
《网页制作特效代码》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、网页制作特效代码将你需要的特效代码替换到FrontPage的代码,然后在拆分状态下把多余的东西删掉,改成你自己的东西即可。令人震撼的图片特效
2、ground:#222;width:100%;height:100%;cursor:crosshair;}.spanSlide{position:absolute;background:#000;font-size:1px;overflow:hidden;}.imgSlide{position:absolute;left:5%;top:5%;width:90%;height:90%;overflow:hidden;}.txtSlide{position:absolute;top:5%;left:50px;width:100%;color:#FFF;f
3、ont-family:arial,helvetica,verdana,sans-serif;font-weight:bold;font-size:96px;letter-spacing:12px;filter:alpha(opacity=70);-moz-opacity:0.7;opacity:0.7;}varym=0;varny=0;createElement=function(container,type,param){o=document.createElement(t
4、ype);for(variinparam)o[i]=param[i];container.appendChild(o);returno;}mooz={O:[],/////////mult:6,nbI:5,/////////rwh:0,imgsrc:0,W:0,H:0,Xoom:function(N){this.o=createElement(document.getElementById("screen"),"span",{'className':'spanSlide'});img=createElement(this.o,"img",{'class
5、Name':"imgSlide",'src':mooz.imgsrc[N%mooz.imgsrc.length].src});spa=createElement(this.o,"span",{'className':"imgSlide"});txt=createElement(spa,"span",{'className':"txtSlide",'innerHTML':mooz.imgsrc[N%mooz.imgsrc.length].title});this.N=10000+N;},mainloop:function(){with(this){fo
6、r(i=0;i7、etTimeout("mooz.mainloop();",16);},oigres:function(){with(this){W=parseInt(document.getElementById("screen").style.width);H=parseInt(document.getElementById("screen").style.height);imgsrc=document.getElementById("images").getElementsByTagName("img");rwh=imgsrc[0].width/imgsrc[08、].height;for(vari=0;i
7、etTimeout("mooz.mainloop();",16);},oigres:function(){with(this){W=parseInt(document.getElementById("screen").style.width);H=parseInt(document.getElementById("screen").style.height);imgsrc=document.getElementById("images").getElementsByTagName("img");rwh=imgsrc[0].width/imgsrc[0
8、].height;for(vari=0;i
此文档下载收益归作者所有