The Mudcat Café TM
Thread #67876   Message #1137000
Posted By: Mr Red
15-Mar-04 - 10:34 AM
Thread Name: Day of Month Calculator (for sessions)
Subject: Day of Month Calculator (for sessions)
I have just uploaded a page on my website with a Javascript calculator to list which Sat, Sun etc it is of the month and for 28 days in the future.
http://www.users.waitrose.com/~cresby/dom.htm
I am looking for feeback on the algorithm - does it work in all browsers? The book Pure Javascript (a veritable Bible) tells me each instruction should work from Netscape3 and IE4 onwards (Opera not specified). Anyone care to comment. Oh - I am the programmer and it is learning curve all over again.
I am not too fussed about aethestics, we are at the HTML3.0 level and piecing it together with Java so I ain't altering the look just yet.
I have tried to incorporate a back button so others can return properly but it don't werk on PC's - I have found other instructions that need a live URL to work so that needs testing someday. That function defaults to my site if it is wrong, if it werks it will return you to this page (the document.referrer instruction for the Max's of this world).
calculator seems Ok but Back doesn't work

An error occurred while evaluating the expression:


FindNoCase("<", FORM.UserName)

Error near line 23, column 6.


Any Ideas anyone


If the PC clock is wrong it will not be accurate.