Results 1 to 4 of 4
Oct 1, 2007, 00:26 #1
- Join Date
- Oct 2007
- 0 Post(s)
- 0 Thread(s)
When to fire scripts that influence the site's layout?
I have a two column website, with content in both. Now, I'd like to set the height of both columns to the same height. I have managed to do that in my script. However:
The only problem now is WHEN to load that script: Both columns have images that take a moment to load, depending on the visitor's download speed. My question is, what is the "best practice" (if there is any?) to load my script that fiddles with the layout? onLoad in the body isn't an option because my script requires the whole layout to be parsed already, and putting a delayed call to the script at the end of my HTML seems like the wrong way of doing it. Besides, with that I still have the problem of slow loading times.