Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap

Feedback on: Popup Date Selector, Wednesday March 26, 2008 at 22:37:37

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

Very worth reading

Just right

Just right

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 ...

Other feedback on 'Popup Date Selector' - show all

©2018 Martin Webb