PDA

View Full Version : Javascript calendar resizing on load



adgfx
30 Apr 2006, 06:24 AM
Hi there,

I have a javascript calendar display done for a school's website. With school calendar of events displayed as current month initially. The problem is when the homepage loads the scipt takes a two three seconds time to execute and load the contents on the page. So it streches the right side table for some time then resizes to fit the table.. the table looks scattered for some time. The client doesn't want that to happen.. Any idea??

Rincewind
30 Apr 2006, 10:05 AM
Would be easier if you could point us to the page in question. However, you could try putting the output of the javascript into a table or a div that has the size present. So when the page loads, the required space for the callander is drawn first so the page doesn't resize as the script runs.