You are here: irt.org | About | Feedback | 5236 [ previous next ]
Feedback on:
Popup Date Selector
Sent by
Nightwolf on Wednesday March 26, 2008 at 22:37:37
Worth:
Very worth reading
Length:
Just right
Technical:
Just right
Comments:
The only problem I have with the calendar is that it has to reload the page every time you change the month or year.
The solution for this is:
In the cal.htm file, create a div in the html at the bottom and give it an id of CalContainer. Eg: <div id='CalContainer'></div>
Then replace the window.location parts in the changeMonth and changeYear functions with document.getElementById('CalContainer').innerHTML=Calendar(opener.month, opener.year). You may also want to put this at the bottom of the page to initialise the calendar.
And that should do the job ... an easy-to-use calendar that DOES NOT require the page to reload every single time you change the month or year!
I hope someone finds this useful ...
NW
Other feedback on 'Popup Date Selector' - show all