Link to home
Start Free TrialLog in
Avatar of Torrey Bates
Torrey BatesFlag for United States of America

asked on

Hide table until page is fully loaded

I know how to call a javascript funtion on the body onload of a page to hide a table.

However, becuase it takes a moment to load my page I see the table show then disapear (as wanted).


Is anything available on the table properties iteself or in the begging of my pages code that I can ad to hide a table sooner?

Regards,
Torrey
ASKER CERTIFIED SOLUTION
Avatar of Masoudgh
Masoudgh

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Torrey Bates

ASKER

Excellent, I added the style="display:none" to my table and it works.  The table is hidden while the page is loading and my already in place body onload javascript function shows it after the page is loaded.

I use dreamweaver and think I tried this a while ago but it hides the table in design view.  Therefore, if I ever need to use design view on that page in Dreamweaver again, I just need to remove style="display:none" and when I'm done put it back.

Regards,
Torrey