Back to Scripts page
Click in the text area below, select all and copy to grab the script
Script listing:
<HTML> <HEAD> <TITLE>Weekend Checker</TITLE> </HEAD> <BODY BGCOLOR=WHITE> <H1> <SCRIPT LANGUAGE=JAVASCRIPT TYPE="TEXT/JAVASCRIPT"> <!-- Hide script from old browsers now = new Date if (now.getDay() > 0 && now.getDay() < 6) { document.write("Sorry, it's a weekday.") } else { document.write("Hooray, it's a weekend!") } // End hiding script from old browsers --> </SCRIPT> </H1> </BODY> </HTML>