【Vegas原创】显示动态时间



    <body MS_POSITIONING="GridLayout"  bgcolor="#E0FFC1"  OnLoad="ShowTime()">
        
<form id="Form1" method="post" runat="server">
            
        
                
<font id="TimeText" size="1" color="#006600" face="arial"></font>
        
            
        
</form>
        
<script language="vbscript">
Sub ShowTime()
    TimeText.innerHTML
= DateValue(now& " " & Hour(now& ":" & Right("0" & Minute(now),2& ":" & Right("0" & Second(now),2
)
    SetTimeout 
"ShowTime()",1000

end sub 
        
</script>

    
</body>

 

posted @ 2006-11-02 16:15  李济宏(Amadeus)  阅读(187)  评论(0编辑  收藏  举报