R
Richard
I have a table that is about 100 rows long and within that table I have tons
of links. The table takes about 2 seconds to load. I think javascript might
help somehow.
The problem is that in FireFox and Netscape, as this document is written the
page is being formated while this table is loading, and because the table is
centered horizontally and I have some right-aligned divs above that, the
table will appear to the right side of the screen for a second while it is
loading, and then it moves back to the center after the rest of the page has
loaded (until the document gets to the point where those right-aligned divs
close). I'll try to explain better...
<html>
<some divs around here that are right aligned>
<div align="center"
<table>
LOTS OF STUFF HERE
</table>
</div>
</html>
The problem is that FireFox and Netscape will do this:
<html>
<some divs around here that are right aligned>
<div align="center"
<table>
LOTS!!! OF STUFF HERE
FireFox and Netscape will SHOW the page right now, while it is loading
(IE does not).. and because there are some unclosed right aligned divs, the
table jumps from right to left as it loads.
And finally, after a couple more seconds:
</table>
<close all the right aligned divs>
</html>
And now the table jumps back to the center where it belongs.
I wish I could change the format of the page, but it is huge, and its not my
code.
I'm thinking that I can write this table to a hidden string on the server
side ASP, and use document.write after the page has loaded to write the
table. Does this sound appropriate?
of links. The table takes about 2 seconds to load. I think javascript might
help somehow.
The problem is that in FireFox and Netscape, as this document is written the
page is being formated while this table is loading, and because the table is
centered horizontally and I have some right-aligned divs above that, the
table will appear to the right side of the screen for a second while it is
loading, and then it moves back to the center after the rest of the page has
loaded (until the document gets to the point where those right-aligned divs
close). I'll try to explain better...
<html>
<some divs around here that are right aligned>
<div align="center"
<table>
LOTS OF STUFF HERE
</table>
</div>
</html>
The problem is that FireFox and Netscape will do this:
<html>
<some divs around here that are right aligned>
<div align="center"
<table>
LOTS!!! OF STUFF HERE
FireFox and Netscape will SHOW the page right now, while it is loading
(IE does not).. and because there are some unclosed right aligned divs, the
table jumps from right to left as it loads.
And finally, after a couple more seconds:
</table>
<close all the right aligned divs>
</html>
And now the table jumps back to the center where it belongs.
I wish I could change the format of the page, but it is huge, and its not my
code.
I'm thinking that I can write this table to a hidden string on the server
side ASP, and use document.write after the page has loaded to write the
table. Does this sound appropriate?