Greetings Plugin is an easy to use code, theme/template for creating beautiful, and most stunning Wapsite.
With simple setup required, Greetings Plugin is a must have theme code for your site.
Download Greetings Plugin in txt with a size of 986 B, be among the 120 people that just installed Greetings Plugin theme code.
You all have seen websites greeting their visitors with a message that says Good morning, good afternoon or good evening, depending upon the time they visit the website. In fact, these are simple client scripts, which read the active visitors computer’s time.
I’ll show you how to greet your website visitors with a message.
As little kids, we were taught how to greet our guests, family and friends depending upon the time of the day. I need not repeat it here, because you all are grown up now. However, we need to make our web page understand these courtesies and greet ours visitors accordingly.
The JavaScript Date() method will return the current date and time of your user’s computer. The method offers many set and get methods. Out of many get methods, we will use the getHours() method, which will return hours between 0 and 23.
If you know a better way to do the same, please share the code with us here.