⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 flwlk.js

📁 漂浮图片广告。鼠标上去就停止
💻 JS
字号:
function flw(flwlk,pic1,pic2)
{
document.write("<script language=\"javascript\">\n");
document.write("ADFUSER590=\""+flwlk+"\";\n");
document.write("//20011107113406: string, for not repeat\n");
document.write("var flowchange_pic20011107113406=\""+pic1+"\";\n");
document.write("var flowchange_pic220011107113406=\""+pic2+"\";\n");
document.write("var flowchange_alt20011107113406=\"\";\n");
document.write("var flowchange_speed20011107113406=100;	//50:fast, 100:middle, 150:slow\n");
document.write("var flowchange_tar20011107113406=\"_blank\";	//_self, _top, _blank\n");
document.write("var flowchange_downflag20011107113406=0;	//0: change, 1: change-down\n");
document.write("\n");
document.write("var flow_horizon20011107113406=0;	//10:top, 180:middle, 360:below\n");
document.write("var flow_vertical20011107113406=0;	//10:left, 380:middle, 650:right\n");
document.write("\n");
document.write("var flowchange_stop20011107113406=0;\n");
document.write("var flowchange_num20011107113406=0;\n");
document.write("\n");
document.write("var flowchange_brOK20011107113406=false;\n");
document.write("var flowchange_mie20011107113406=false;\n");
document.write("var flowchange_aver20011107113406=parseInt(navigator.appVersion.substring(0,1));\n");
document.write("var flowchange_aname20011107113406=navigator.appName;\n");
document.write("\n");
document.write("var flowchange_vmin20011107113406=2;\n");
document.write("var flowchange_vmax20011107113406=5;\n");
document.write("var flowchange_vr20011107113406=2;\n");
document.write("var flowchange_timer120011107113406;\n");
document.write("\n");
document.write("var flowchange_allyes20011107113406;\n");
document.write("\n");
document.write("var flowchange_ns = (document.layers) ? 1 : 0;\n");
document.write("var flowchange_ie = (document.all) ? 1 : 0;\n");
document.write("var flowchange_bFade20011107113406=false;\n");
document.write("\n");
document.write("//vertical horizon same speed\n");
document.write("if ((flow_horizon20011107113406!=0) || (flow_vertical20011107113406!=0)){\n");
document.write("	flowchange_vr20011107113406=0;\n");
document.write("}\n");
document.write("\n");
document.write("function flowchange_checkbrOK20011107113406(){\n");
document.write("	if(flowchange_aname20011107113406.indexOf(\"Internet Explorer\")!=-1){\n");
document.write("		if(flowchange_aver20011107113406>=4) flowchange_brOK20011107113406=navigator.javaEnabled();\n");
document.write("		flowchange_mie20011107113406=true;\n");
document.write("	}\n");
document.write("	if(flowchange_aname20011107113406.indexOf(\"Netscape\")!=-1){\n");
document.write("		if(flowchange_aver20011107113406>=4) flowchange_brOK20011107113406=navigator.javaEnabled();\n");
document.write("	}\n");
document.write("}\n");
document.write("\n");
document.write("function flowchange_Chip20011107113406(chipname,width,height){\n");
document.write("	this.named=chipname;\n");
document.write("	this.vx=flowchange_vmin20011107113406+flowchange_vmax20011107113406*Math.random();\n");
document.write("	this.vy=flowchange_vmin20011107113406+flowchange_vmax20011107113406*Math.random();\n");
document.write("	this.w=width;\n");
document.write("	this.h=height;\n");
document.write("	this.xx=0;\n");
document.write("	this.yy=0;\n");
document.write("	this.flowchange_timer120011107113406=null;\n");
document.write("}\n");
document.write("\n");
document.write("function flowchange_movechip20011107113406(chipname){\n");
document.write("if (flowchange_stop20011107113406!=1){\n");
document.write("if(flowchange_brOK20011107113406){\n");
document.write("	eval(\"flowchange_Chip20011107113406=\"+chipname);\n");
document.write("	if(!flowchange_mie20011107113406){\n");
document.write("		pageX=window.pageXOffset;\n");
document.write("		pageW=window.innerWidth;\n");
document.write("		pageY=window.pageYOffset;\n");
document.write("		pageH=window.innerHeight;\n");
document.write("	}\n");
document.write("	else{\n");
document.write("		pageX=window.document.body.scrollLeft;\n");
document.write("		pageW=window.document.body.offsetWidth-8;\n");
document.write("		pageY=window.document.body.scrollTop;\n");
document.write("		pageH=window.document.body.offsetHeight;\n");
document.write("	} \n");
document.write("\n");
document.write("	//horizon vertical begin\n");
document.write("	if ((flow_horizon20011107113406!=0) && (flow_vertical20011107113406==0)){\n");
document.write("		flowchange_Chip20011107113406.yy=flow_horizon20011107113406; \n");
document.write("	}\n");
document.write("	else if ((flow_horizon20011107113406==0) && (flow_vertical20011107113406!=0)){\n");
document.write("		flowchange_Chip20011107113406.xx=flow_vertical20011107113406;\n");
document.write("	}\n");
document.write("	//horizon vertical end\n");
document.write("	flowchange_Chip20011107113406.xx=flowchange_Chip20011107113406.xx+flowchange_Chip20011107113406.vx;\n");
document.write("	flowchange_Chip20011107113406.yy=flowchange_Chip20011107113406.yy+flowchange_Chip20011107113406.vy;\n");
document.write("	flowchange_Chip20011107113406.vx+=flowchange_vr20011107113406*(Math.random()-0.5);\n");
document.write("	flowchange_Chip20011107113406.vy+=flowchange_vr20011107113406*(Math.random()-0.5);\n");
document.write("	if(flowchange_Chip20011107113406.vx>(flowchange_vmax20011107113406+flowchange_vmin20011107113406))  flowchange_Chip20011107113406.vx=(flowchange_vmax20011107113406+flowchange_vmin20011107113406)*2-flowchange_Chip20011107113406.vx;\n");
document.write("	if(flowchange_Chip20011107113406.vx<(-flowchange_vmax20011107113406-flowchange_vmin20011107113406)) flowchange_Chip20011107113406.vx=(-flowchange_vmax20011107113406-flowchange_vmin20011107113406)*2-flowchange_Chip20011107113406.vx;\n");
document.write("	if(flowchange_Chip20011107113406.vy>(flowchange_vmax20011107113406+flowchange_vmin20011107113406))  flowchange_Chip20011107113406.vy=(flowchange_vmax20011107113406+flowchange_vmin20011107113406)*2-flowchange_Chip20011107113406.vy;\n");
document.write("	if(flowchange_Chip20011107113406.vy<(-flowchange_vmax20011107113406-flowchange_vmin20011107113406)) flowchange_Chip20011107113406.vy=(-flowchange_vmax20011107113406-flowchange_vmin20011107113406)*2-flowchange_Chip20011107113406.vy;\n");
document.write("	if(flowchange_Chip20011107113406.xx<=pageX){\n");
document.write("		//horizon flow for move mouse\n");
document.write("		if ((flow_horizon20011107113406==0) && (flow_vertical20011107113406!=0))\n");
document.write("			flowchange_Chip20011107113406.xx=pageX+flow_vertical20011107113406;\n");
document.write("		else	\n");
document.write("			flowchange_Chip20011107113406.xx=pageX;\n");
document.write("		flowchange_Chip20011107113406.vx=flowchange_vmin20011107113406+flowchange_vmax20011107113406*Math.random();\n");
document.write("	}\n");
document.write("	if(flowchange_Chip20011107113406.xx>=pageX+pageW-flowchange_Chip20011107113406.w){\n");
document.write("		flowchange_Chip20011107113406.xx=pageX+pageW-flowchange_Chip20011107113406.w;\n");
document.write("		flowchange_Chip20011107113406.vx=-flowchange_vmin20011107113406-flowchange_vmax20011107113406*Math.random();\n");
document.write("	}\n");
document.write("	if(flowchange_Chip20011107113406.yy<=pageY){\n");
document.write("		//vertical flow for move mouse\n");
document.write("		if ((flow_horizon20011107113406!=0) && (flow_vertical20011107113406==0))\n");
document.write("			flowchange_Chip20011107113406.yy=pageY+flow_horizon20011107113406;\n");
document.write("		else\n");
document.write("			flowchange_Chip20011107113406.yy=pageY;\n");
document.write("		flowchange_Chip20011107113406.vy=flowchange_vmin20011107113406+flowchange_vmax20011107113406*Math.random();\n");
document.write("	}\n");
document.write("	if(flowchange_Chip20011107113406.yy>=pageY+pageH-flowchange_Chip20011107113406.h){\n");
document.write("		flowchange_Chip20011107113406.yy=pageY+pageH-flowchange_Chip20011107113406.h;\n");
document.write("		flowchange_Chip20011107113406.vy=-flowchange_vmin20011107113406-flowchange_vmax20011107113406*Math.random();\n");
document.write("	}\n");
document.write("	if(!flowchange_mie20011107113406){\n");
document.write("		eval(\"document.\"+flowchange_Chip20011107113406.named+\".top=\"+flowchange_Chip20011107113406.yy);\n");
document.write("		eval(\"document.\"+flowchange_Chip20011107113406.named+\".left=\"+flowchange_Chip20011107113406.xx);\n");
document.write("	} \n");
document.write("	else{\n");
document.write("		eval(\"document.all.\"+flowchange_Chip20011107113406.named+\".style.pixelLeft=\"+flowchange_Chip20011107113406.xx);\n");
document.write("		eval(\"document.all.\"+flowchange_Chip20011107113406.named+\".style.pixelTop =\"+flowchange_Chip20011107113406.yy); \n");
document.write("	}\n");
document.write("	flowchange_Chip20011107113406.flowchange_timer120011107113406=setTimeout(\"flowchange_movechip20011107113406('\"+flowchange_Chip20011107113406.named+\"')\",flowchange_speed20011107113406);\n");
document.write("}\n");
document.write("}\n");
document.write("else {flowchange_Chip20011107113406.flowchange_timer120011107113406=setTimeout(\"flowchange_movechip20011107113406('\"+flowchange_Chip20011107113406.named+\"')\",flowchange_speed20011107113406);}\n");
document.write("\n");
document.write("}\n");
document.write("\n");
document.write("function flowchange_stopme20011107113406(chipname){\n");
document.write("	if(flowchange_brOK20011107113406){\n");
document.write("		eval(\"flowchange_Chip20011107113406=\"+chipname);\n");
document.write("		if(flowchange_Chip20011107113406.flowchange_timer120011107113406!=null){\n");
document.write("			clearTimeout(flowchange_Chip20011107113406.flowchange_timer120011107113406)\n");
document.write("		}\n");
document.write("	}\n");
document.write("}\n");
document.write("\n");
document.write("function flowchange_allyes120011107113406(){\n");
document.write("if (flowchange_num20011107113406==0){\n");
document.write("	flowchange_checkbrOK20011107113406(); \n");
document.write("	flowchange_allyes20011107113406=new flowchange_Chip20011107113406(\"flowchange_allyes20011107113406\",100,80);\n");
document.write("	if(flowchange_brOK20011107113406) {\n");
document.write("		flowchange_movechip20011107113406(\"flowchange_allyes20011107113406\");\n");
document.write("	}\n");
document.write("}\n");
document.write("	flowchange_num20011107113406++;\n");
document.write("}\n");
document.write("\n");
document.write("//change begin\n");
document.write("function change_over20011107113406(){\n");
document.write("	if (flowchange_downflag20011107113406==1){//down\n");
document.write("		leftdown20011107113406.style.top=document.all.Img120011107113406.height;\n");
document.write("	}\n");
document.write("	else if (flowchange_downflag20011107113406==2){//right\n");
document.write("		leftdown20011107113406.style.left=document.all.Img120011107113406.width;\n");
document.write("	}\n");
document.write("	else if (flowchange_downflag20011107113406==3){//left\n");
document.write("		leftdown20011107113406.style.left=-document.all.Img220011107113406.width;\n");
document.write("	}\n");
document.write("	else if (flowchange_downflag20011107113406==4){//up\n");
document.write("		leftdown20011107113406.style.top=-document.all.Img220011107113406.height;\n");
document.write("	}\n");
document.write("	leftdown20011107113406.style.visibility=\"visible\";\n");
document.write("	//changetime20011107113406=setTimeout(\"change_out20011107113406()\",3000);\n");
document.write("}\n");
document.write("\n");
document.write("function change_out20011107113406(){\n");
document.write("	//clearTimeout(changetime20011107113406);\n");
document.write("	leftdown20011107113406.style.visibility=\"hidden\";\n");
document.write("}\n");
document.write("//change end\n");
document.write("\n");
document.write("if (flowchange_ie){\n");
document.write("	document.write(\"<div ID='flowchange_allyes20011107113406' STYLE='position:absolute;'>\");\n");
document.write("\n");
document.write("	document.write(\"<div id='leftdown20011107113406' style='position:absolute; z-index:1; visibility: hidden'><a href='\"+ADFUSER590+\"' target='\" + flowchange_tar20011107113406 + \"' onMouseOver='change_over20011107113406();flowchange_stop20011107113406=1;' onMouseOut='change_out20011107113406();flowchange_stop20011107113406=0;'><img src='\"+ flowchange_pic220011107113406 + \"' ID='Img220011107113406' onload='flowchange_allyes120011107113406()' border='0' alt='\" + flowchange_alt20011107113406 + \"'></a></div>\");\n");
document.write("\n");
document.write("	document.write(\"<a HREF='\"+ADFUSER590+\"' onMouseOver='change_over20011107113406();flowchange_stop20011107113406=1;' onMouseOut='change_out20011107113406();flowchange_stop20011107113406=0;'  target='\" + flowchange_tar20011107113406 + \"'>\");\n");
document.write("	document.write(\"<img SRC='\" + flowchange_pic20011107113406 + \"' ID='Img120011107113406' border='0' alt='\" + flowchange_alt20011107113406 + \"' ></a>\");\n");
document.write("	document.write(\"</div>\");\n");
document.write("}\n");
document.write("else if (flowchange_ns){\n");
document.write("	document.write(\"<layer name='flowchange_allyes20011107113406' visibility='show' onMouseOver='document.layers.leftdown20011107113406.visibility=\\\"show\\\";flowchange_stop20011107113406=1;' onMouseOut='document.layers.leftdown20011107113406.visibility=\\\"hide\\\";flowchange_stop20011107113406=0;'  onload='flowchange_allyes120011107113406()' >\");\n");
document.write("	document.write(\"<a HREF='\"+ADFUSER590+\"' target='\" + flowchange_tar20011107113406 + \"'>\");\n");
document.write("	document.write(\"<img SRC='\" + flowchange_pic20011107113406 + \"' border='0' alt='\" + flowchange_alt20011107113406 + \"' name='Img120011107113406'></a>\");\n");
document.write("	document.write(\"<layer name='leftdown20011107113406' visibility='hide' left='Img120011107113406.width'><a href='\"+ADFUSER590+\"' target='\" + flowchange_tar20011107113406 + \"'><img src='\"+ flowchange_pic220011107113406 + \"' border='0' alt='\" + flowchange_alt20011107113406 + \"'></a></layer>\");\n");
document.write("	document.write(\"</layer>\");\n");
document.write("}\n");
document.write("</script>\n");
document.write("\n");
document.write("");
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -