- Home
·
- Internet/HTML
·
- A VB Script Code that wishes the visitor with Good Morning...! ,Good Night...! ,etc... accordin
A VB Script Code that wishes the visitor with Good Morning...! ,Good Night...! ,etc... accordin
A VB Script Code that wishes the visitor with "Good Morning...!" ,"Good Night...!" ,etc... according to the time, when web page is loaded and
Rate A VB Script Code that wishes the visitor with Good Morning...! ,Good Night...! ,etc... accordin
(2(2 Vote))
<HEAD>
<Script Language="VBScript">
Sub Window_OnLoad()
If Time() < 0.5 Then
Alert "Good Morning Visitor...!"
ElseIf Time >= 0.5 And Time < 0.75 Then
Alert "Good Afternoon Visitor...!"
ElseIf Time > 0.75 Then
Alert "Good Evening Visitor...!"
End IF
End Sub
Sub Window_OnBeforeUnLoad()
If Time() < 0.5 Then
Alert "Have a good day"
ElseIf Time >= 0.5 And Time < 0.75 Then
Alert "Good Bye..."
ElseIf Time > 0.75 Then
Alert "Good Night..."
End IF
End Sub
</Script>
</HEAD>
<BODY>
Hello...Wishes From "WAQAS TARIQ"
</BODY>
</HTML>
A VB Script Code that wishes the visitor with Good Morning...! ,Good Night...! ,etc... accordin Comments
No comments yet — be the first to post one!
Post a Comment