123、极酷的文字效果

123、极酷的文字效果

脚本说明:

第一步:把如下代码加入<body>区域中

<SCRIPT LANGUAGE="JavaScript">

<!-- Beginning of JavaScript -

 

 

var timer

function initiate() {

    mytext1.Rotate(0,0,10)

    mytext2.Rotate(0,0,-10)

    mytext3.Rotate(0,5,0)

       mytext4.Rotate(0,5,5)

    timer=setTimeout("initiate()",20)

}

-->

</SCRIPT>

<OBJECT ID="mytext1"

CLASSID="CLSID:369303C2-D7AC-11d0-89D5-00A0C90833E6"

STYLE="POSITION:absolute;TOP:0px;LEFT:200px;WIDTH:300;HEIGHT:300">

<PARAM NAME="Line0001" VALUE="SetFillColor(0,0,255)">

<PARAM NAME="Line0002" VALUE="SetFont('돋움',

60, 700, 0, 0, 0)">

<PARAM NAME="Line0003" VALUE="Text('光临', 0, 0, 0)">

</OBJECT> <OBJECT ID="mytext2"

CLASSID="CLSID:369303C2-D7AC-11d0-89D5-00A0C90833E6"

STYLE="POSITION:absolute;TOP:0px;LEFT:200px;WIDTH:300;HEIGHT:300;">

<PARAM NAME="Line0001" VALUE="SetFillColor(255,0,0)">

<PARAM NAME="Line0002" VALUE="SetFont('돋움',

40, 700, 0, 0, 0)">

<PARAM NAME="Line0003" VALUE="Text('欢迎', 0, 0, 0)">

</OBJECT> <OBJECT ID="mytext3"

CLASSID="CLSID:369303C2-D7AC-11d0-89D5-00A0C90833E6"

STYLE="POSITION:absolute;TOP:0px;LEFT:0px;WIDTH:600;HEIGHT:300;">

<PARAM NAME="Line0001" VALUE="SetFillColor(255,255,255)">

<PARAM NAME="Line0002" VALUE="SetFont('돋움',

24, 700, 0, 0, 0)">

<PARAM NAME="Line0003" VALUE="Text('http://www.7stk.com', 0, 0, 0)">

</OBJECT>

<OBJECT ID="mytext4"

CLASSID="CLSID:369303C2-D7AC-11d0-89D5-00A0C90833E6"

STYLE="POSITION:absolute;TOP:0px;LEFT:0px;WIDTH:600;HEIGHT:300;">

<PARAM NAME="Line0001" VALUE="SetFillColor(255,111,255)">

<PARAM NAME="Line0002" VALUE="SetFont('.ff7;',

60, 700, 0, 0, 0)">

<PARAM NAME="Line0003" VALUE="Text('网页特效代码', 0, 0, 0)">

</OBJECT>

 

第二步:把<body>中的内容改为:

<body onLoad="initiate()">

 

Write a comment

Comments: 0