Results 1 to 2 of 2

Thread: Javascript calendar resizing on load

  1. #1
    Join Date
    Apr 2006
    Posts
    1

    Question Javascript calendar resizing on load

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

  2. #2
    Join Date
    Mar 2004
    Location
    China
    Posts
    3,315
    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.

Similar Threads

  1. Problem with javascript Slideshow and transparent PNG files
    By moez in forum Client & Server Side Scripting (PHP, ASP, JavaScript)
    Replies: 0
    Last Post: 20 Jan 2006, 03:56 PM
  2. element specific javascript
    By gumbo in forum Client & Server Side Scripting (PHP, ASP, JavaScript)
    Replies: 0
    Last Post: 04 Dec 2005, 07:25 PM
  3. element specific javascript
    By gumbo in forum Web Design, HTML Reference and CSS
    Replies: 0
    Last Post: 04 Dec 2005, 07:23 PM

Posting Permissions

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