百度空间 | 百度首页 
               
 
查看文章
 
2的1--48次幂计算演示器_daode1212原创
2008年07月08日 星期二 上午 09:03

请将下面代码用记事本保存为HTA扩展名的文件,双击运行即可.

<html>

<head>
<title>Simple Splash Screen</title>
</head>

<SCRIPT LANGUAGE="VBScript">
    dim i
    Sub TEST1
        i=i+1
        If i<49 Then
        Splash1.innerHTML="<h1 align=center>指数=" & i &"</H1>"
        Splash2.innerHTML="<h1 align=center>幂=" & 2^i &"</H1>"    
        iTimerID =window.setTimeOut("TEST1", 1000)
        Else
        Splash1.innerHTML="<h1 align=center>指数=" & i &",再不给你算了!</H1>"
        Splash2.innerHTML="<h1 align=center>幂=" & 2^i &"</H1>"
        End If   
   End Sub

</SCRIPT>

<body OnLoad=TEST1
STYLE="font:14 pt arial; color:white;
filter:progid:DXImageTransform.Microsoft.Gradient
(GradientType=1, StartColorStr='#99eecc', EndColorStr='#2266ff')">

<h1 align=center
style="COLOR:#eeFFee; filter:Glow(Color='#FF5500',Strength='9');
FONT-FAMILY: 华文彩云; FONT-SIZE: 45pt; LINE-HEIGHT: 150%;
WIDTH: 100%"
>2的1 ---> 48次幂计算演示器</h1>

<DIV id="Splash1"
STYLE="Background-color:blue;Height:50;Width:500;
Border:2px solid green;
position:relative;top:100;left:75;
font:14pt arial;"></DIV>

<DIV id="Splash2"
STYLE="Background-color:blue;Height:50;Width:500;
Border:2px solid green;
position:relative;top:120;left:75;
font:14pt arial;"></DIV>

<DIV id="Splash3"
STYLE="Height:10;Width:500;
filter:progid:DXImageTransform.Microsoft.Gradient
(GradientType=0, StartColorStr='#006699', EndColorStr='#99ccff');
Border:2px solid green;
position:relative;top:140;left:75;
font:14pt arial;"><h4 align=right>原创 :浙江.安吉.项道德(daode1212)</h4>
</Div>
</body>
</html>


类别:htm+hta | 添加到搜藏 | 浏览() | 评论 (0)
 
最近读者:
 
网友评论:
发表评论:
姓 名:
网址或邮箱: (选填)
内 容:
验证码: 请点击后输入四位验证码,字母不区分大小写
      

     

©2009 Baidu