【#文档大全网# 导语】以下是®文档大全网的小编为您整理的《送给女朋友的小礼物(一个小程序)》,欢迎阅读!
作者:佚名 来源:北方IT网·转载 更新时间:2007-8-23 15:08:16 进入论坛 发表评论 送给女朋友的小礼物(一个小程序)
<html>
<head>
<title>亲爱的我爱你</title> <!--这里是标题-->
<hta:application sysmenu=no scroll=no border=none>
<script language="vbscript">
sub sub1
me.close
end sub
me.resizeto 700,410 这里设置窗口大小,单位为像素
me.moveto 260,100 '这里设置窗口位置,单位为像素
window.settimeout "sub1",100000 '这是设置时间,单位为毫秒,我这里设置为12秒
</script>
<body>
<CENTER>
<FONT style="COLOR:#FF0000; FILTER: shadow(color=black); FONT-FAMILY: 华文黑体; FONT-SIZE: 30pt; LINE-HEIGHT: 150%; WIDTH: 100%"><B>亲爱的我爱你</B></FONT></CENTER>
<hr>
<style type="text/css">
.3dfont { FILTER: glow(color=000000,strength=0) shadow(color=000000,direction:135); POSITION: relative; WIDTH: 100% }
</style>
<table border="0" width="100%">
<tr>
<td width="100%" class="3dfont"><font color=RED><CENTER><marquee bgcolor="black" behavior=alternate Scroll amount=5><font color="red"> ☆☆☆☆☆☆ I LOVE YOU ☆☆☆☆☆☆</marquee></font>
<br>
<P align=left>
<DIV>
<MARQUEE scrollAmount=2 direction=down height=60><CENTER><FONT face=黑体 color=#FF0000 size=7><B>亲爱的,我爱你!*!*</B></FONT></CENTER></MARQUEE>
<MARQUEE scrollAmount=2 direction=up height=60><CENTER><FONT face=黑体 color=#FFFF00 size=7><B>亲爱的,我爱你!^!^</B></FONT></CENTER></MARQUEE>
</DIV>
<P><CENTER><MARQUEE direction=up behavior=alternate width=60 height=120><FONT face=隶书 color=red size=15>亲</FONT></MARQUEE>
<MARQUEE direction=up behavior=alternate width=60 height=80><FONT face=隶书 size=15 color=yellow>爱</FONT></MARQUEE>
<MARQUEE direction=up behavior=alternate width=60 height=120><FONT face=隶书 size=15 color=green>的</FONT></MARQUEE>
<MARQUEE direction=up behavior=alternate width=60 height=80><FONT face=隶书 size=15 color=red>,</FONT></MARQUEE>
<MARQUEE direction=up behavior=alternate width=60 height=80><FONT face=隶书 size=15 color=orange>我</FONT></MARQUEE>
<MARQUEE direction=up behavior=alternate width=60 height=120><FONT face=隶书 size=15 color=yellow>爱</FONT></MARQUEE>
<MARQUEE direction=up behavior=alternate width=60 height=80><FONT face=隶书 size=15 color=green>你</FONT></MARQUEE>
<MARQUEE direction=up behavior=alternate width=60 height=120><FONT face=隶书 size=15 color=red>到</FONT></MARQUEE>
<MARQUEE direction=up behavior=alternate width=60 height=80><FONT face=隶书 size=15 color=yellow>永</FONT></MARQUEE>
<MARQUEE direction=up behavior=alternate width=60 height=120><FONT face=隶书 size=15 color=green>远</FONT></MARQUEE>
<MARQUEE direction=up behavior=alternate width=60 height=80><FONT face=隶书 size=15 color=red>!</FONT></MARQUEE></CENTER></p></body>
</html>
用记事本保存为*.hta就可以看了。关闭Alt+F4