文档详情

《《html特效代码》.doc

发布:2015-10-01约4.39万字共35页下载文档
文本预览下载声明
拉动页面时背景图不动     body{background-image:url(logo.gif);   background-repeat:no-repeat;background-position:center} . 检测某个网站的链接速度: 把如下代码加入区域中: tim=1 setInterval(tim++,100) b=1 var autourl=new Array() autourl[1]= autourl[2]= autourl[3]= autourl[4]= autourl[5]= function butt(){ document.write() for(var i=1;i …… =》 =》 onclick=window.open(this.form.url+i+.value) ) document.write() } butt() function auto(url){ document.forms[0][url+b].value=url if(tim200) {document.forms[0][txt+b].value=链接超时} else {document.forms[0][txt+b].value=时间+tim/10+秒} b++ } function run(){for(var i=1;ihttp://+autourl+))} run() 各种样式的光标 auto :标准光标 default :标准箭头 hand :手形光标 wait :等待光标 text :I形光标 vertical-text :水平I形光标 no-drop :不可拖动光标 not-allowed :无效光标 help :?帮助光标 all-scroll :三角方向标 move :移动标 crosshair :十字标 e-resize n-resize nw-resize w-resize s-resize se-resize sw-resize 帖子内单一图片的移动代码如下: CENTERMARQUEE scrollAmount=1 direction=up height=600 TABLE style=WIDTH: 500px; HEIGHT: 375px background=/UploadFile/2005-1/200512821819969.jpg border=0 TBODY TR TD/TD/TR/TBODY/TABLE/MARQUEE/CENTER MARQUEE:为移动“命令”代码 scrollAmount:为速度,数值越大,移动速度越快 direction :为方向,up,down,left,right分别代表上下左右的方向 height:为移动的高度 同理,我们也可以叫整个帖子动起来~~ 代码如下: MARQUEE scrollAmount=2 direction=right width=550 height=1400 TABLE cellSpacing=26 borderColorDark=#3d452c cellPadding=0 width=720 align=center borderColorLight=#879964 background=/UploadFile/2005-1/2005127213434934.jpg border=0 TBODY TR TD width=100% DIV align=center TABLE cellSpacing=5 borderColorDark=#3d452c cellPadding=0 width=100% borderColorLight=#879964 background=/UploadFile/2005-1/2005127213555536.jpg border=1 TBODY TR TD width=100% TABLE cellSpacing=5 borderColorDark=#3d452c cellPadding=0 width=100% borderColorLight=#879964 background=/UploadFile/2005-1/2005127213555536.jpg border=1 TBODY TR TD width=100% DIV align=center TABLE cellSpacing=10 cellPadding=0 width=100% background=/UploadFile/2005-1/2005127213534784.jpg border=0 TBODY TR TD width=100% DIV align=center TABLE borderColorDa
显示全部
相似文档