PDA

View Full Version : Calendar Previous Month Question



kathycam
03-07-2012, 09:21 PM
Hi

I have found the attached calendar script and it seems to be working okay for me.

My boss is asking that when you click the back button that it doesn't go back past January of the current year.

How would I modify the code to accomplish this?

Any help would be appreciated.

jscheuer1
03-08-2012, 02:23 AM
You should ask your boss what browser, browser version and OS she or he is using because I'm having no trouble with the functioning of the code either. It goes easily backward from January to the December of the previous year.

There is however one non-fatal error I detect that I suppose in some browser(s) might actually cause that. And it's easily fixed. On evtcalendar.htm find (there's only one place where it has this):


<img name=\"calendar-prev\"

Change it to:


<img name=\"PrevMo\"

That will take care of the one non-fatal error I detected.

Fix that and upload it to wherever you have this script where your boss is viewing it. Tell them to refresh the page and then try again.

If that doesn't fix it, as I say, find out what browser, browser version and OS they're using and report back.