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? 1 1589
never mind.. of course I'm having to rebuild the whole dang thing using divs
instead of tables.
"Richard" <no******@spam. invalid> wrote in message
news:SQRof.43$_ L5.2@fed1read06 ... 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?
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Mark McKay |
last post by:
I will be starting a contract with a film production company soon, and
will be writing code to process large images representing frames of
movies (unknown file format at this time). I'd also like to build the
interface in Java, and do the number crunching in Java too, if Java is
powerful enough to handle it.
I'd like to know what the best ways are to accomplish this. Should I
treat image data as arrays of bytes and use the old...
|
by: Beau E. Cox |
last post by:
Hi -
I have an application which is essentially 'read-only' -
once the database is loaded it is only read from. So,
I am trying to implement it with various indices and
a table containg some large content in blob columns.
I observe the max_allowed_packet setting and
'split' blobs too large among multiple rows. All is fine
during testing. However, when I try a production
load (which should load about 1.5G to the various
|
by: Kai Grossjohann |
last post by:
I have a table which contains a top-aligned table cell:
....
<tr style="height:40">
...
<td colspan="1" rowspan="2" align="left" valign="top"
style="overflow:hidden;">
...contents.explained.later...
</td>
...
|
by: kids_pro |
last post by:
I had come across a code block from Loading a DataSet from XML (.NET
Framework Developer's Guide)
----------------------------------------
NOte If you call ReadXML to load a very large file, you may encounter slow
performance. To ensure best performance for ReadXml, on a large file, call
the DataTable.BeginLoadData method for each table in the DataSet, then call
ReadXml. Finally, call DataTable.EndLoadData for each table in the DataSet
as...
|
by: John Richardson |
last post by:
I've been bothered for some time about my DataGrid not populating my rows
very quickly. I have about 10K rows loading into the grid.
I create a datatable dt with 2 columns, an ID and a display. The ID is a
member of the keys array.
I then create a DataView dv over the table, and sort it by Display and ID
column (in case of duplicate Display).
I then set my DataGrid.DataSource = dv;
I then load the datatable with my rows, and this is...
| |
by: blackhawk |
last post by:
I need to build a web page that has to potentially display a large amount of
data in two grids on the same page. The HTML file with all of the formatting
is about 7MB in size. This is too large and I need to implement some kind of
"client side" lazy loading.
What I mean is this: I want to display a grid that only shows, say, 20
records. I need an external scrollbar control that I can then show on the
screen next to the grid. When...
|
by: tangler |
last post by:
I've read other posts on here about this issue and I've tried applying the code but I still can't get a centered table. Here is what I have:
In my CSS:
.centered-table {
margin-left: auto;
margin-right: auto;
}
In my HTML:
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
|
by: hiervision |
last post by:
Hi I have a question about a CSS menu.
I've got a 700 pixel table centered in the
body of my page. The table scrolls quite
a ways down.
I would like to place a menu flush against the
right side of that table, centered vertically, which
does not move when the user scrolls down.
Obviously, it would need to stay flush against
the centered table as it is resized in either
|
by: yeoj13 |
last post by:
Hello,
I have a db2load script I'm using to populate a large table.
Ideally, my target table is required to have "Not Null" constraints on
a number of different columns.
I've noticed a huge performance hit when I load the target table with
"Not Null" constraints as compared to loading a target table without
the constraints.
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |