Preload in Table Tag?

They have: 23 posts

Joined: Jan 2001

Does an "onLoad preload" have to go in the body tag? Or can I put in a table tag. So when the table loads will it execute the preload statement?

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

What's the difference, really? It's going to be a matter of thousands of a second between the body and table tag. But when it's in the head tag, the rest of the page will continue loading while the images load, but when it's in the body or table tags, the page will wait to load all the images while they load.

Suzanne

They have: 601 posts

Joined: Nov 2001

I *think* it has to go into the BODY tag. Not sure, though. I'll have a poke around the W3C for you.

detox's picture

They have: 571 posts

Joined: Feb 2001

according to javascript kit :

Quote: The onload event handler is used to call the execution of JavaScript after a page /frameset /image has completely loaded

It is most commonly used for the body tag. From what they say you cant put it into a table. No probs just put an image in a table (even a spacer gif of 1 X 1 pixels )

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.