Selling Online and Sabbath Keeping

Status
Not open for further replies.

jfschultz

Puritan Board Junior
If you have enough control on the details of the web site, you might try putting this bit of javascript into your initial web page (usually index.html). It uses the customer's time to automatically redirect to either Main or ClosedMain pages.

<SCRIPT LANGUAGE="Javascript"><!--
var today = new Date();
if (today.getDay() == 0) top.location = "ClosedMain.html"
else top.location = "Main.html"
//-->
</SCRIPT>
 
Status
Not open for further replies.
Top