Full version: jsB@nk » Snippet » Greeting Message II script
URL: https://www.javascriptbank.com/greeting-message-ii-script.html
This JavaScript depends on system time to give the greeting message.
Full version: jsB@nk » Snippet » Greeting Message II script
URL: https://www.javascriptbank.com/greeting-message-ii-script.html
<script language="JavaScript"><!--var mess1="";var outmess= " and WELCOME to JavaScriptBank.com"document.write("<center><font size=+1><i><b>")day = new Date( )hr = day.getHours( )if (( hr >= 0 ) && (hr <= 4 ))mess1= "Good Night..."if (( hr >= 4 ) && (hr < 12))mess1=" Good morning "if (( hr >= 12) && (hr <= 17))mess1= "Good AfterNoon " if ((hr >= 17) && (hr <= 23))mess1= "Good Evening "document.write("<blink>")document.write(mess1)document.write("</blink>")document.write(outmess)document.write("</b></i></font></center>")//---></script><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->