75、按钮使文字消失

75、按钮使文字消失

脚本说明:

把如下代码加入<body>区域中

<SCRIPT language=javascript event=oninit for=Seq>

 Seq.item('ActionSet1').at(0.000, 'StretchAndDrop('+e.id+')',80, 0.010, 1);

</SCRIPT>

<SCRIPT language=javascript>

function StretchAndDrop(i)

{

// Modify for different effect

    i.Scale(1,1.1,0);    

}

function StretchDrop()

{

    e.SetIdentity();

    Seq.item('ActionSet1').Play();

}

</SCRIPT>

<INPUT onclick=StretchDrop() type=button value="改变字符" name=ShowEffect>

<OBJECT id=e

style="Z-INDEX: -1; LEFT: 0px; WIDTH: 787px; POSITION: absolute; TOP: 50px; HEIGHT: 354px; VISIBLE: "

classid=CLSID:369303C2-D7AC-11d0-89D5-00A0C90833E6><PARAM NAME="SourceURL" VALUE="">

<PARAM NAME="CoordinateSystem" VALUE="0">

<PARAM NAME="MouseEventsEnabled" VALUE="0">

<PARAM NAME="HighQuality" VALUE="0">

<PARAM NAME="PreserveAspectRatio" VALUE="-1">

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

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

<PARAM NAME="Line0003" VALUE="SetFillStyle(1)">

<PARAM NAME="Line0004" VALUE="SetLineStyle(0,0)">

<PARAM NAME="Line0005" VALUE="SetFont('Verdana',20,350,0,0,0)">

<PARAM NAME="Line0006" VALUE="Text('welcome to 7stk.com,thank you!',-20,13)">

</OBJECT></CENTER>

<OBJECT id=Seq style="WIDTH: 2px; HEIGHT: 2px" classid=CLSID:B0A6BAE2-AAF0-11d0-A152-00A0C908DB96></OBJECT>

 

Write a comment

Comments: 0