VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



A VB Script Code that wishes the visitor with Good Morning...! ,Good Night...! ,etc... accordin

by Waqas Tariq (1 Submission)
Category: Internet/HTML
Compatability: VB Script
Difficulty: Unknown Difficulty
Originally Published: Mon 5th November 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)

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



 <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>

Download this snippet    Add to My Saved Code

A VB Script Code that wishes the visitor with Good Morning...! ,Good Night...! ,etc... accordin Comments

No comments have been posted about A VB Script Code that wishes the visitor with Good Morning...! ,Good Night...! ,etc... accordin. Why not be the first to post a comment about A VB Script Code that wishes the visitor with Good Morning...! ,Good Night...! ,etc... accordin.

Post your comment

Subject:
Message:
0/1000 characters