《《html特效代码》.doc
文本预览下载声明
拉动页面时背景图不动 body{background-image:url(logo.gif); background-repeat:no-repeat;background-position:center}
. 检测某个网站的链接速度:把如下代码加入区域中:tim=1setInterval(tim++,100)b=1var 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=urlif(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-resizen-resizenw-resizew-resizes-resizese-resizesw-resize
帖子内单一图片的移动代码如下:CENTERMARQUEE scrollAmount=1 direction=up height=600TABLE style=WIDTH: 500px; HEIGHT: 375px background=/UploadFile/2005-1/200512821819969.jpg border=0TBODYTRTD/TD/TR/TBODY/TABLE/MARQUEE/CENTERMARQUEE:为移动“命令”代码scrollAmount:为速度,数值越大,移动速度越快direction :为方向,up,down,left,right分别代表上下左右的方向height:为移动的高度
同理,我们也可以叫整个帖子动起来~~
代码如下:
MARQUEE scrollAmount=2 direction=right width=550 height=1400TABLE cellSpacing=26 borderColorDark=#3d452c cellPadding=0 width=720 align=center borderColorLight=#879964 background=/UploadFile/2005-1/2005127213434934.jpg border=0TBODYTRTD width=100%DIV align=centerTABLE cellSpacing=5 borderColorDark=#3d452c cellPadding=0 width=100% borderColorLight=#879964 background=/UploadFile/2005-1/2005127213555536.jpg border=1TBODYTRTD width=100%TABLE cellSpacing=5 borderColorDark=#3d452c cellPadding=0 width=100% borderColorLight=#879964 background=/UploadFile/2005-1/2005127213555536.jpg border=1TBODYTRTD width=100%DIV align=centerTABLE cellSpacing=10 cellPadding=0 width=100% background=/UploadFile/2005-1/2005127213534784.jpg border=0TBODYTRTD width=100%DIV align=centerTABLE borderColorDa
显示全部