欢迎光临
我们一直在努力

一个DHTML的例子——3D文字

建站超值云服务器,限时71元/月

<html><head><title>3d文字</title>
<meta content="text/html; charset=gb2312" http-equiv=content-type>
<meta content=en-us name=ms.locale>
<meta content=noindex name=robots>
<meta content="mshtml 5.00.2614.3500" name=generator>
<script language=vbscript>
<!–
sets initial variables and letter starting positions

sub 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)
    rotateall
end sub

sets rotation speed and behavior as well as creating loop

sub 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
–>
</script>
</head>
<body bgcolor=white>
<object classid=clsid:369303c2-d7ac-11d0-89d5-00a0c90833e6 id=sg4
style="height: 400px; left: 25%; position: absolute; top: 25%; width: 400px; zindex: 0"><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, 180, 700, 0, 0, 0)"><param name="line0005" value="text(你好!, -95, 87)"></object>
<object classid=clsid:369303c2-d7ac-11d0-89d5-00a0c90833e6 id=sg1
style="height: 400px; left: 25%; position: absolute; top: 25%; width: 400px; zindex: 0"><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, 180, 700, 0, 0, 0)"><param name="line0005" value="text(你好!, -95, 87)"></object>
<object classid=clsid:369303c2-d7ac-11d0-89d5-00a0c90833e6 id=sg3
style="height: 300px; left: 25%; position: absolute; top: 25%; width: 400px; zindex: 1"><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, 280, 700, 0, 0, 0)"><param name="line0005" value="text(函数, -95, 87)"></object>
<object classid=clsid:369303c2-d7ac-11d0-89d5-00a0c90833e6 id=sg2
style="height: 400px; left: 25%; position: absolute; top: 25%; width: 400px; zindex: 2"><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, 180, 700, 0, 0, 0)"><param name="line0005" value="text(啊, -95, 0)"></object></body></html>

赞(0)
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com 特别注意:本站所有转载文章言论不代表本站观点! 本站所提供的图片等素材,版权归原作者所有,如需使用,请与原作者联系。未经允许不得转载:IDC资讯中心 » 一个DHTML的例子——3D文字
分享到: 更多 (0)

相关推荐

  • 暂无文章