关于<html><head><metahttp-equiv=”Content-Type”content=”text/html;charset=gb2312″><title>网页特效| |—爬向鼠标的好多蚂蚁</title></head><body><styletype=”text/css”>.ant{ :absolute;v :16px;}</style><SCRIPTLANGUAGE=”JavaScript”>vardir=”images/”;varimages=newArray(dir+” f”,dir+” f”,dir+” f”,dir+” f”,dir+” f”,dir+” f”,dir+” f”,dir+” f”);varisMinNS4=( yers)?1:0;varisMinIE4=( l)?1:0;var_LBimgList;var_LBimgCount;var_LBbase=”LBbase”;var_LBlow=”LBlow”;var_LBhigh=”LBhigh”;var_LBwidth;var_LBheight;var_LBbaseLayer;var_LBlowLayer;var_LBhighLayer;functioncreateLoadBar(width,height,bdSize,bdColor,bgColor,fgColor,fontFace,fontSize,text){vartxtLow,txtHigh,tblStart,tblEnd;varstr;txtLow='<fontcolor=”‘+fgColor+’”face=”‘+fontFace+’”size=’+fontSize+’>’+text+'</font>’;txtHigh='<fontcolor=”‘+bgColor+’”face=”‘+fontFace+’”size=’+fontSize+’>’+text+'</font>’;tblStart='<tableborder=0cellpadding=0cellspacing=0height=100%width=100%><trvalign=”center”><tdalign=”center”>’;tblEnd='</td></tr></table>’;if(isMinNS4)str='<layername=”‘+_LBbase+’”bgcolor=”‘+bdColor+’”width=’+width+’height=’+height+’visibility=”hide”>\n’+'<layername=”‘+_LBlow+’”bgcolor=”‘+bgColor+’”left=’+bdSize+’top=’+bdSize+’width=’+(width-2*bdSize)+’height=’+(height-2*bdSize)+’>’+tblStart+txtLow+tblEnd+'</layer>\n’+'<layername=”‘+_LBhigh+’”bgcolor=”‘+fgColor+’”left=’+bdSize+’top=’+bdSize+’width=’+(width-2*bdSize)+’height=’+(height-2*bdSize)+’>’+tblStart+txtHigh+tblEnd+'</layer>\n’+'</layer>’;if(isMinIE4)str='<divid=”‘+_LBbase+’”style=”background-color:’+bdColor+’;width:’+width+’px;height:’+height+’px;v”>\n’+'<divid=”‘+_LBlow+’”style=”background-color=’+bgColor+’;left:’+bdSize+’px;top:’+bdSize+’px;width:’+(width-2*bdSize)+’px;height:’+(height-2*bdSize)+’px;”>’+tblStart+txtLow+tblEnd+'</div>\n’+'<divid=”‘+_LBhigh+’”style=”background-color=’+fgColor+’;left:’+bdSize+’px;top:’+bdSize+’px;width:’+(width-2*bdSize)+’px;height:’+(height-2*bdSize)+’px;”>’+tblStart+txtHigh+tblEnd+'</div>\n’+'</div>’;document.writeln(str);_LBwidth=width-2*bdSize;_LBheight=height-2*bdSize;}functionstartLoadBar(srcList,x,y){vari,w,h;if(isMinNS4){_LBbaseLayer= yers[_LBbase];_LBlowLayer=_ yers[_LBlow];_LBhighLayer=_ yers[_LBhigh];}if(isMinIE4){_LBbaseLayer=eval(‘ 的问题
办法一:
不修改源代码,在浏览
” f”,
” f”,
” f”,
” f”,
” f”,
” f”,
” f”,
” f”
拷贝到”images”文件夹(新建的)里面(注意把每个文件名中的括号及括号内的数字删掉,例如”antdl(1).gif”修改为” f”,),再把“特效网页”保存到”images”文件夹外面,即可,可参见附件
---
也可以在浏览器地址栏输入 bryant1976大师 提供的网址,再将图片保存到”images”文件夹(新建的)里面
办法二:
将JS代码:
var dir = “images/”;
修改为:var dir = ” “;
即可,如果在此之前浏览过
否则,在第一次预览时需要联网,以便下载图片文件,之后(没有请空Internet缓存)再次预览就不必联网