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

📄 0105.htm

📁 最全的JS大全,希望大家喜欢.收录于网络.收录于网络.最全的JS大全,希望大家喜欢.
💻 HTM
字号:
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><!-- saved from url=(0032)http://www.ie-zone.com/index.php --><HTML><!-- #BeginTemplate "/Templates/Js.dwt" --> <HEAD><!-- #BeginEditable "doctitle" --> <TITLE>跟随鼠标的文字一</TITLE><!-- #EndEditable --> <META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK  href="../../fav.ico" rel="shortcut icon"><STYLE type=text/css>BODY {	MARGIN: 25px 25px 25px}#all TD {	FONT-SIZE: 12px; LINE-HEIGHT: 15px; FONT-FAMILY: "Verdana", "Arial","新宋体", "宋体"}INPUT {	FONT-SIZE: 12px; LINE-HEIGHT: 15px; FONT-FAMILY: "Verdana", "Arial","新宋体", "宋体"}SELECT {	FONT-SIZE: 12px; LINE-HEIGHT: 15px; FONT-FAMILY: "Verdana", "Arial","新宋体", "宋体"}P {	FONT-SIZE: 12px; LINE-HEIGHT: 15px; FONT-FAMILY: "Verdana", "Arial","新宋体", "宋体"}TEXTAREA {	FONT-SIZE: 12px; LINE-HEIGHT: 15px; FONT-FAMILY: "Verdana", "Arial","新宋体", "宋体"}#all A:active {	COLOR: #7d070c}#all A:visited {	COLOR: #7d070c}#all A:hover {	COLOR: #336699}#all A:link {	COLOR: #7d070c}</STYLE><SCRIPT language=JavaScript><!--function MM_goToURL() { //v3.0  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");}function JM_cc(ob){var obj=MM_findObj(ob); if (obj) { obj.select();js=obj.createTextRange();js.execCommand("Copy");}}function MM_findObj(n, d) { //v4.0  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);  if(!x && document.getElementById) x=document.getElementById(n); return x;}//--></SCRIPT><META content="MSHTML 5.50.4134.600" name=GENERATOR></HEAD><BODY id=all text=#000000 bgColor=#336699><TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>  <TR bgColor=#ffffff>     <TD><IMG src="../images/sq_1.gif" width=11 height="14"></TD>    <TD width="100%"></TD>    <TD><IMG src="../images/sq_2.gif"    width=11 height="14"></TD>  </TR></TABLE><TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>  <TR bgColor=#ffffff>     <TD><IMG src="../../images/space.gif" width=11 height="1"></TD>    <TD width="100%">       <table width="100%" border="0" cellpadding="8">        <tr>           <td align="center">             <script language="JavaScript">document.write("<font color=#7d070c style=\"font-size: 14px\">"+document.title+"</font>");</script>          </td>        </tr>        <tr>           <td bgcolor="#f7f7f7"><!-- #BeginEditable "example" -->            <script language=JavaScript1.2><!--/*Cursor Trailer II (By Kurt at kurt.grigg@virgin.net)Modified and featured on Dynamicdrive.comFor full source, usage terms, and 100's more DHTML scripts, visit http://dynamicdrive.com*/var message='www.51js.com';var messagecolor='#000000'//Enter number of seconds for message to display  (0=perpetual)var dismissafter=0///no need to edit below/////////var amount=5,ypos=0,xpos=0,Ay=0,Ax=0,By=0,Bx=0,Cy=0,Cx=0,Dy=0,Dx=0,Ey=0,Ex=0;if (document.layers){for (i = 0; i < amount; i++){document.write('<layer name=ns'+i+' top=0 left=0><font face="Courier New" size=3 color='+messagecolor+'>'+message+'</font></layer>')}window.captureEvents(Event.MOUSEMOVE);function nsmouse(evnt){xpos = evnt.pageX;ypos = evnt.pageY;makefollow()}}else if (document.all){document.write("<div id='outer' style='position:absolute;top:0px;left:0px'>");document.write("<div id='inner' style='position:relative'>");for (i = 0; i < amount; i++) {document.write('<div id="text"'+i+' style="position:absolute;top:0px;left:0px;font-family:Courier New;font-size:16px;color:'+messagecolor+'">'+message+'</div>')}document.write("</div>");document.write("</div>");function iemouse(){ypos = document.body.scrollTop + event.y;xpos = document.body.scrollLeft + event.x;makefollow()}}function makefollow(){if (document.layers){document.layers["ns0"].top=ay;document.layers["ns0"].left=ax;document.layers["ns1"].top=by;document.layers["ns1"].left=bx;document.layers["ns2"].top=cy;document.layers["ns2"].left=cx;document.layers["ns3"].top=Dy;document.layers["ns3"].left=Dx;document.layers["ns4"].top=Ey;document.layers["ns4"].left=Ex;}else if (document.all){outer.all.inner.all[0].style.pixelTop=ay;outer.all.inner.all[0].style.pixelLeft=ax;outer.all.inner.all[1].style.pixelTop=by;outer.all.inner.all[1].style.pixelLeft=bx;outer.all.inner.all[2].style.pixelTop=cy;outer.all.inner.all[2].style.pixelLeft=cx;outer.all.inner.all[3].style.pixelTop=Dy;outer.all.inner.all[3].style.pixelLeft=Dx;outer.all.inner.all[4].style.pixelTop=Ey;outer.all.inner.all[4].style.pixelLeft=Ex;}}function move(){if (dismissafter!=0)setTimeout("hidetrail()",dismissafter*1000)if (document.layers){window.onMouseMove = nsmouse}else if (document.all){window.document.onmousemove = iemouse}ey = Math.round(Ey+=((ypos+20)-Ey)*2/2);ex = Math.round(Ex+=((xpos+20)-Ex)*2/2);dy = Math.round(Dy+=(ey - Dy)*2/4);dx = Math.round(Dx+=(ex - Dx)*2/4);cy = Math.round(Cy+=(dy - Cy)*2/6);cx = Math.round(Cx+=(dx - Cx)*2/6);by = Math.round(By+=(cy - By)*2/8);bx = Math.round(Bx+=(cx - Bx)*2/8);ay = Math.round(Ay+= (by - Ay)*2/10);ax = Math.round(Ax+= (bx - Ax)*2/10);makefollow();jumpstart=setTimeout('move()',10);}function hidetrail(){if (document.all){for (i2=0;i2<amount;i2++){outer.all.inner.all[i2].style.visibility="hidden"clearTimeout(jumpstart)}}else if (document.layers){for (i2=0;i2<amount;i2++){temp="ns"+i2document.layers[temp].visibility="hide"clearTimeout(jumpstart)}}}window.onload=move;//--></script>            <!-- #EndEditable --></td>        </tr>        <tr>           <td><!-- #BeginEditable "code" -->1.将下面的代码复制到 &lt;body&gt; 内             <input type="button" name="Button" value="复制到我的剪贴板" onClick=JM_cc('js_1')>            <br>            <form name="form1" method="post" action="">              <textarea name="js_1" wrap="VIRTUAL" cols="80" rows="10">&lt;SCRIPT language=JavaScript1.2&gt;<!--/*Cursor Trailer II (By Kurt at kurt.grigg@virgin.net)Modified and featured on Dynamicdrive.comFor full source, usage terms, and 100's more DHTML scripts, visit http://dynamicdrive.com*/var message='Dynamicdrive.com';var messagecolor='#000000'//Enter number of seconds for message to display  (0=perpetual)var dismissafter=0///no need to edit below/////////var amount=5,ypos=0,xpos=0,Ay=0,Ax=0,By=0,Bx=0,Cy=0,Cx=0,Dy=0,Dx=0,Ey=0,Ex=0;if (document.layers){for (i = 0; i < amount; i++){document.write('<layer name=ns'+i+' top=0 left=0><font face="Courier New" size=3 color='+messagecolor+'>'+message+'</font></layer>')}window.captureEvents(Event.MOUSEMOVE);function nsmouse(evnt){xpos = evnt.pageX;ypos = evnt.pageY;makefollow()}}else if (document.all){document.write("<div id='outer' style='position:absolute;top:0px;left:0px'>");document.write("<div id='inner' style='position:relative'>");for (i = 0; i < amount; i++) {document.write('<div id="text"'+i+' style="position:absolute;top:0px;left:0px;font-family:Courier New;font-size:16px;color:'+messagecolor+'">'+message+'</div>')}document.write("</div>");document.write("</div>");function iemouse(){ypos = document.body.scrollTop + event.y;xpos = document.body.scrollLeft + event.x;makefollow()}}function makefollow(){if (document.layers){document.layers["ns0"].top=ay;document.layers["ns0"].left=ax;document.layers["ns1"].top=by;document.layers["ns1"].left=bx;document.layers["ns2"].top=cy;document.layers["ns2"].left=cx;document.layers["ns3"].top=Dy;document.layers["ns3"].left=Dx;document.layers["ns4"].top=Ey;document.layers["ns4"].left=Ex;}else if (document.all){outer.all.inner.all[0].style.pixelTop=ay;outer.all.inner.all[0].style.pixelLeft=ax;outer.all.inner.all[1].style.pixelTop=by;outer.all.inner.all[1].style.pixelLeft=bx;outer.all.inner.all[2].style.pixelTop=cy;outer.all.inner.all[2].style.pixelLeft=cx;outer.all.inner.all[3].style.pixelTop=Dy;outer.all.inner.all[3].style.pixelLeft=Dx;outer.all.inner.all[4].style.pixelTop=Ey;outer.all.inner.all[4].style.pixelLeft=Ex;}}function move(){if (dismissafter!=0)setTimeout("hidetrail()",dismissafter*1000)if (document.layers){window.onMouseMove = nsmouse}else if (document.all){window.document.onmousemove = iemouse}ey = Math.round(Ey+=((ypos+20)-Ey)*2/2);ex = Math.round(Ex+=((xpos+20)-Ex)*2/2);dy = Math.round(Dy+=(ey - Dy)*2/4);dx = Math.round(Dx+=(ex - Dx)*2/4);cy = Math.round(Cy+=(dy - Cy)*2/6);cx = Math.round(Cx+=(dx - Cx)*2/6);by = Math.round(By+=(cy - By)*2/8);bx = Math.round(Bx+=(cx - Bx)*2/8);ay = Math.round(Ay+= (by - Ay)*2/10);ax = Math.round(Ax+= (bx - Ax)*2/10);makefollow();jumpstart=setTimeout('move()',10);}function hidetrail(){if (document.all){for (i2=0;i2<amount;i2++){outer.all.inner.all[i2].style.visibility="hidden"clearTimeout(jumpstart)}}else if (document.layers){for (i2=0;i2<amount;i2++){temp="ns"+i2document.layers[temp].visibility="hide"clearTimeout(jumpstart)}}}window.onload=move;//-->&lt;/SCRIPT&gt;</textarea>            </form>            <!-- #EndEditable --></td>        </tr>      </table>    </TD>    <TD><IMG src="../../images/space.gif"    width=11 height="1"></TD>  </TR></TABLE><TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>  <TR bgColor=#ffffff>     <TD><IMG src="../images/sq_3.gif" width=11 height="14"></TD>    <TD width="100%"></TD>    <TD><IMG src="../images/sq_4.gif"    width=11 height="14"></TD>  </TR></TABLE></BODY><!-- #EndTemplate --></HTML>

⌨️ 快捷键说明

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