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

📄 w0005.htm

📁 JavaScript源代码全集
💻 HTM
字号:
<!--Saved  from《天索星网》http://www.tasoo.2000c.net,E-mail:tasoo_cn@yahoo.com.cn-->
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!-- A:link {text-decoration: none; color:#000000}
     A:visited {text-decoration: none; color: #000000}
     A:active {text-decoration: none; color: #FF0000}
     A:hover {text-decoration: underline; color: FF0000}
     body{font-size=9pt}
	    TH{FONT-SIZE: 9pt}
       TD{ FONT-SIZE: 9pt}-->
</style>
<script language="VBScript">
<!--
' Sets initial variables and letter starting positions

Sub Window_OnLoad()
	call SG1.Scale(0.40, 0.40, 0.60)
	call SG2.Scale(0.50, 0.50, 0.50)
	call SG3.Scale(0.50, 0.50, 0.50)
	call SG4.Scale(0.50, 0.50, 0.50)
	call SG1.Rotate(90, 180, 90)
	call SG2.Rotate(90, 0, 0)
	call SG3.Rotate(0, 90, 0)
	RotateAll
end sub

' sets rotation speed and behavior as well as creating loop

Sub RotateAll
	Call SG1.Rotate(8,8,2)
	Call SG2.Rotate(8,8,2)
	Call SG3.Rotate(8,8,2)
	Call SG4.Rotate(8,8,2)
	FILK = Window.SetTimeOut("Call RotateAll", 10, "VBSCript")
End Sub
-->
</script>

<title>《网络教程》之Javascript--超级旋转动态文字</title>
</head>

<body topmargin="0" leftmargin="0">
<div align="center"><center>

<table border="0" width="90%" cellspacing="0" cellpadding="0">
  <tr>
    <td width="100%" colspan="3" height="62"><div align="center"><center><table border="0"
    width="100%" cellspacing="0" cellpadding="0">
      <tr>
        <td width="250"><img src="../photo/jx.gif" border="0" WIDTH="200" HEIGHT="80"></td>
        <td width="468" height="60"></td>
      </tr>
    </table>
    </center></div></td>
  </tr>
  <tr>
    <td width="20%" bgcolor="#C8C882" valign="middle" align="center" height="22"></td>
    <td width="80%" bgcolor="#C8C882" valign="middle" align="center" colspan="2" height="22"><strong><span
    style="font-size: 10pt; font-family: Arial">javascript文字类</span></strong></td>
  </tr>
  <tr>
    <td width="20%" valign="top" align="left"><div align="center"><center><table border="0"
    width="100%" cellspacing="0" cellpadding="0">
      <tr>
        <td width="100%" valign="middle" align="center" height="30" bgcolor="#C8C882"><span
        style="font-size: 9pt"><a href="index.htm">时间类</a></span></td>
      </tr>
      <tr>
        <td width="100%" valign="middle" align="center" height="30" bgcolor="#C8C882"><span
        style="font-size: 9pt"><a href="index.htm">文字类</a></span></td>
      </tr>
      <tr>
        <td width="100%" valign="middle" align="center" height="30" bgcolor="#C8C882"><span
        style="font-size: 9pt"><a href="index.htm">导航类</a></span></td>
      </tr>
      <tr>
        <td width="100%" valign="middle" align="center" height="30" bgcolor="#C8C882"><span
        style="font-size: 9pt"><a href="index.htm">鼠标类</a></span></td>
      </tr>
      <tr>
        <td width="100%" valign="middle" align="center" height="30" bgcolor="#C8C882"><span
        style="font-size: 9pt"><a href="index.htm">按钮类</a></span></td>
      </tr>
      <tr>
        <td width="100%" valign="middle" align="center" height="30" bgcolor="#C8C882"><span
        style="font-size: 9pt"><a href="index.htm">跑马灯</a></span></td>
      </tr>
      <tr>
        <td width="100%" valign="middle" align="center" height="30" bgcolor="#C8C882"><span
        style="font-size: 9pt"><a href="index.htm"><font face="Arial"><strong>COOKIE</strong></font>类</a></span></td>
      </tr>
      <tr>
        <td width="100%" valign="middle" align="center" height="30" bgcolor="#C8C882"><span
        style="font-size: 9pt"><a href="index.htm">其他类</a></span></td>
      </tr>
      <tr>
        <td width="100%" valign="middle" align="center" height="10" bgcolor="#505028"></td>
      </tr>
    </table>
    </center></div></td>
    <td width="80%" valign="top" align="left" colspan="2" height="242"><div align="center"><center><table
    border="0" width="100%" cellspacing="0" cellpadding="0">
      <tr>
        <td width="100%" bgcolor="#EBEBEB" valign="middle" align="center" height="18" colspan="3"><span
        style="font-size: 9pt">超级旋转动态文字</span></td>
      </tr>
      <tr>
        <td width="100%" valign="middle" align="center" height="2" colspan="3"></td>
      </tr>
      <tr>
        <td width="100%" valign="middle" align="center" height="1" colspan="3" bgcolor="#000080"></td>
      </tr>
      <tr>
        <td width="16%" valign="middle" align="center" height="22"></td>
        <td width="67%" valign="middle" align="center" height="25">
        <object classid="CLSID:369303C2-D7AC-11D0-89D5-00A0C90833E6" id="SG4"
        style="HEIGHT: 400px; LEFT: 25%; POSITION: absolute; TOP: 25%; WIDTH: 400px; ZINDEX: 0"
        width="14" height="14">
          <param name="Line0001" value="SetLineStyle(0)">
          <param name="Line0002" value="SetFillColor(164, 164, 255)">
          <param name="Line0003" value="SetFillStyle(1)">
          <param name="Line0004" value="SetFont('Arial', 100, 700, 0, 0, 0)">
          <param name="Line0005" value="Text('天索出品', -95, 87)">
        </object>
        <p>
        <object classid="CLSID:369303C2-D7AC-11D0-89D5-00A0C90833E6" id="SG1"
        style="HEIGHT: 400px; LEFT: 25%; POSITION: absolute; TOP: 25%; WIDTH: 400px; ZINDEX: 0"
        width="14" height="14">
          <param name="Line0001" value="SetLineStyle(1)">
          <param name="Line0002" value="SetLineColor(0, 0, 0)">
          <param name="Line0003" value="SetFillStyle(0)">
          <param name="Line0004" value="SetFont('Arial', 100, 700, 0, 0, 0)">
          <param name="Line0005" value="Text('FLASH', -200, 100)">
        </object>
        </p>
        <p>
        <object classid="CLSID:369303C2-D7AC-11D0-89D5-00A0C90833E6" id="SG3"
        style="HEIGHT: 300px; LEFT: 25%; POSITION: absolute; TOP: 25%; WIDTH: 400px; ZINDEX: 1"
        width="14" height="14">
          <param name="Line0001" value="SetLineStyle(1)">
          <param name="Line0002" value="SetLineColor(66,158, 144)">
          <param name="Line0003" value="SetFillStyle(0)">
          <param name="Line0004" value="SetFont('Arial', 100, 100, 0, 0, 0)">
          <param name="Line0005" value="Text('星盟品网', -95, 87)">
        </object>
        </p>
        <p>
        <object classid="CLSID:369303C2-D7AC-11D0-89D5-00A0C90833E6" id="SG2"
        style="HEIGHT: 400px; LEFT: 25%; POSITION: absolute; TOP: 25%; WIDTH: 400px; ZINDEX: 2"
        width="14" height="14">
          <param name="Line0001" value="SetLineStyle(1)">
          <param name="Line0002" value="SetLineColor(255, 111,210)">
          <param name="Line0003" value="SetFillStyle(0)">
          <param name="Line0004" value="SetFont('Arial', 100, 700, 0, 0, 0)">
          <param name="Line0005" value="Text('天索星网', -95, 0)">
        </object>
        </td>
        <td width="17%" valign="middle" align="center" height="22"></td>
      </tr>
      <tr>
        <td width="16%" valign="middle" align="center" height="20"></td>
        <td width="67%" valign="middle" align="center" height="20"></td>
        <td width="17%" valign="middle" align="center" height="20"></td>
      </tr>
      <tr>
        <td width="16%" valign="middle" align="center" height="22" rowspan="6"></td>
        <td width="67%" valign="middle" align="left" height="4" bgcolor="#F0FAFF"><font
        color="#FF0000">第一步:拷贝下面的代码到你的html文件的&lt;head&gt;和&lt;/head&gt;之间:</font></td>
        <td width="17%" valign="middle" align="center" height="22" rowspan="6"></td>
      </tr>
      <tr>
        <td width="67%" valign="middle" align="center" height="4" bgcolor="#F0FAFF"><textarea
        rows="8" name="S1" cols="40">&lt;SCRIPT language=VBScript&gt;
<!--' Sets initial variables and letter starting positionsSub Window_OnLoad()	call SG1.Scale(0.50, 0.50, 0.50)	call SG2.Scale(0.50, 0.50, 0.50)	call SG3.Scale(0.50, 0.50, 0.50)	call SG4.Scale(0.50, 0.50, 0.50)	call SG1.Rotate(0, 0, 0)	call SG2.Rotate(90, 0, 0)	call SG3.Rotate(0, 90, 0)	RotateAllend sub' sets rotation speed and behavior as well as creating loopSub RotateAll	Call SG1.Rotate(4,6,2)	Call SG2.Rotate(4,6,2)	Call SG3.Rotate(4,6,2)	Call SG4.Rotate(4,6,2)	FILK = Window.SetTimeOut("Call RotateAll", 10, "VBSCript")End Sub-->
&lt;/SCRIPT&gt;</textarea></td>
      </tr>
      <tr>
        <td width="67%" valign="middle" align="left" height="4" bgcolor="#F0FAFF"><font
        color="#FF0000">第二步:拷贝下面的代码到你的html文件的&lt;body&gt;和&lt;/body&gt;之间:</font></td>
      </tr>
      <tr>
        <td width="67%" valign="middle" align="center" height="4" bgcolor="#F0FAFF"><textarea
        rows="8" name="S1" cols="40">&lt;p&gt;
&lt;object classid=&quot;CLSID:369303C2-D7AC-11D0-89D5-00A0C90833E6&quot; id=&quot;SG4&quot;
style=&quot;HEIGHT: 400px; LEFT: 25%; POSITION: absolute; TOP: 25%; WIDTH: 400px; ZINDEX: 0&quot;
width=&quot;14&quot; height=&quot;14&quot;&gt;
  &lt;param name=&quot;Line0001&quot; value=&quot;SetLineStyle(0)&quot;&gt;
  &lt;param name=&quot;Line0002&quot; value=&quot;SetFillColor(164, 164, 255)&quot;&gt;
  &lt;param name=&quot;Line0003&quot; value=&quot;SetFillStyle(1)&quot;&gt;
  &lt;param name=&quot;Line0004&quot; value=&quot;SetFont('Arial', 180, 700, 0, 0, 0)&quot;&gt;
  &lt;param name=&quot;Line0005&quot; value=&quot;Text('DHTML', -95, 87)&quot;&gt;
&lt;/object&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;object classid=&quot;CLSID:369303C2-D7AC-11D0-89D5-00A0C90833E6&quot; id=&quot;SG1&quot;
style=&quot;HEIGHT: 400px; LEFT: 25%; POSITION: absolute; TOP: 25%; WIDTH: 400px; ZINDEX: 0&quot;
width=&quot;14&quot; height=&quot;14&quot;&gt;
  &lt;param name=&quot;Line0001&quot; value=&quot;SetLineStyle(1)&quot;&gt;
  &lt;param name=&quot;Line0002&quot; value=&quot;SetLineColor(0, 0, 0)&quot;&gt;
  &lt;param name=&quot;Line0003&quot; value=&quot;SetFillStyle(0)&quot;&gt;
  &lt;param name=&quot;Line0004&quot; value=&quot;SetFont('Arial', 180, 700, 0, 0, 0)&quot;&gt;
  &lt;param name=&quot;Line0005&quot; value=&quot;Text('DHTML', -95, 87)&quot;&gt;
&lt;/object&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;object classid=&quot;CLSID:369303C2-D7AC-11D0-89D5-00A0C90833E6&quot; id=&quot;SG3&quot;
style=&quot;HEIGHT: 300px; LEFT: 25%; POSITION: absolute; TOP: 25%; WIDTH: 400px; ZINDEX: 1&quot;
width=&quot;14&quot; height=&quot;14&quot;&gt;
  &lt;param name=&quot;Line0001&quot; value=&quot;SetLineStyle(1)&quot;&gt;
  &lt;param name=&quot;Line0002&quot; value=&quot;SetLineColor(66,158, 144)&quot;&gt;
  &lt;param name=&quot;Line0003&quot; value=&quot;SetFillStyle(0)&quot;&gt;
  &lt;param name=&quot;Line0004&quot; value=&quot;SetFont('Arial', 280, 100, 0, 0, 0)&quot;&gt;
  &lt;param name=&quot;Line0005&quot; value=&quot;Text('tasoo', -95, 87)&quot;&gt;
&lt;/object&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;object classid=&quot;CLSID:369303C2-D7AC-11D0-89D5-00A0C90833E6&quot; id=&quot;SG2&quot;
style=&quot;HEIGHT: 400px; LEFT: 25%; POSITION: absolute; TOP: 25%; WIDTH: 400px; ZINDEX: 2&quot;
width=&quot;14&quot; height=&quot;14&quot;&gt;
  &lt;param name=&quot;Line0001&quot; value=&quot;SetLineStyle(1)&quot;&gt;
  &lt;param name=&quot;Line0002&quot; value=&quot;SetLineColor(255, 111,210)&quot;&gt;
  &lt;param name=&quot;Line0003&quot; value=&quot;SetFillStyle(0)&quot;&gt;
  &lt;param name=&quot;Line0004&quot; value=&quot;SetFont('Arial', 180, 700, 0, 0, 0)&quot;&gt;
  &lt;param name=&quot;Line0005&quot; value=&quot;Text('Script', -95, 0)&quot;&gt;
&lt;/object&gt;
&lt;/p&gt;
</textarea></td>
      </tr>
      <tr>
        <td width="67%" valign="middle" align="center" height="3" bgcolor="#F0FAFF"></td>
      </tr>
      <tr>
        <td width="67%" valign="middle" align="center" height="3" bgcolor="#F0FAFF"></td>
      </tr>
    </table>
    </center></div></td>
  </tr>
  <tr>
    <td width="20%" bgcolor="#FFFFFF" valign="middle" align="center" height="20"></td>
    <td width="60%" height="20"></td>
    <td width="20%" height="20"></td>
  </tr>
  <tr>
    <td width="20%" bgcolor="#FFFFFF" valign="middle" align="center" height="17"></td>
    <td width="60%" height="17"><p align="center"><span style="font-size: 9pt"><a
    href="w0004.htm">上一页</a> &nbsp;&nbsp;&nbsp; <a href="w0006.htm">下一页</a></span></td>
    <td width="20%" height="17"></td>
  </tr>
  <tr>
    <td width="20%" bgcolor="#FFFFFF" valign="middle" align="center" height="14"></td>
    <td width="60%" height="14"></td>
    <td width="20%" height="14"></td>
  </tr>
  <tr>
    <td width="20%" bgcolor="#FFFFFF" valign="middle" align="center" height="14"></td>
    <td width="60%" height="14"></td>
    <td width="20%" height="14"></td>
  </tr>
  <tr>
    <td width="20%" bgcolor="#FFFFFF" valign="middle" align="center" height="47"></td>
    <td width="60%" height="47"><div align="center"><center><table cellspacing="0"
    cellpadding="0">
      <tr>
        <td width="100%"><p align="center"><font color="#969696"><span style="font-size: 9pt">《天索星网》 
        星网制作 版权所有</span></font></td>
      </tr>
      <tr>
        <td width="100%"><p align="center"><font color="#969696"><span
        style="font-size: 9pt; font-family: Arial">&copy;2000-2001 All Rights Reserved</span></font></td>
      </tr>
      <tr>
        <td width="100%"></td>
      </tr>
    </table>
    </center></div></td>
    <td width="20%" height="47"></td>
  </tr>
</table>
</center></div>
</body>
</html>
<!--Saved  from天索星网  版权所有;http://www.tasoo.2000c.net,E-mail:tasoo_cn@yahoo.com.cn-->

⌨️ 快捷键说明

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