Results 1 to 2 of 2

Thread: Calendar Previous Month Question

  1. #1
    Join Date
    Jun 2010
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Calendar Previous Month Question

    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.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    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):

    Code:
    <img name=\"calendar-prev\"
    Change it to:

    Code:
    <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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •