> On Sun, Oct 15, 2000 at 10:01:39PM -0400, Hubbard, David wrote:
> > I've seen this too, Netscape has trouble with large tables.
> > For example, on one of my domains, I have a few hundred
> > forwards, Netscape takes quite a while to display it but
> > IE pops it up quickly.
> >
On Mon, Oct 16, 2000 at 01:55:51AM -0700, Hampton Maxwell wrote:
> Actually I believe this is the fault of some weird html. Other pages (e.g. Ebay)
>with hundreds of tables load up far quicker than 20 entries in qmailadmin in
>Netscape. From the html, it looks like the page has about 5 embedded tables within
>tables. I'm going to try and clean this up to get the same layout without so many
>dang tables.
Ok, so I'm responding to my own message. But I've got a patch (against 0.38) for
show_users.html that gets us from 5 levels of embedded tables down to 3, as well as
minor html cleanups. The new html generates a page that looks identical to the
original in both Netscape 4.7 and Mozilla M18, no IE to test on. Performance is
definitely improved. It's not blazing quick, but I don't think we can get any more
speedup out of the html while maintaining the same layout.
Instructions for applying:
copy show_users.html.patch to qmailadmin-0.38/html
cd qmailadmin-0.38/html
patch < show_users.html.patch
cd ..
make install
Enjoy,
Hampton
*** show_users.html Tue Sep 12 14:15:54 2000
--- show_users.html.new Mon Oct 16 02:41:26 2000
***************
*** 6,27 ****
</HEAD>
<BODY bgcolor=FFFFFF>
<CENTER>
! <TABLE cellpadding=0 border=0 cellspacing=0 align=center valign=top width=600>
<TR>
! <TD align=center width=60%>
! <TABLE cellpadding=0 border=0 cellspacing=0 width=100%>
! <TR>
! <TD BGCOLOR=black>.</TD>
! <TD BGCOLOR=black><FONT COLOR=WHITE size=3>
<CENTER><B>POP ACCOUNTS</B>
</CENTER></FONT></TD>
! <TD BGCOLOR=black>.</TD>
</TR>
<TR>
<TD colspan=3>
- <TABLE cellpadding=2 border=0 cellspacing=0 BGCOLOR=black width=100%>
- <TR>
- <TD colspan=3>
<TABLE cellpadding=3 border=0 cellspacing=0 BGCOLOR=white
width=100%>
<TR>
<TD><CENTER>
--- 6,21 ----
</HEAD>
<BODY bgcolor=FFFFFF>
<CENTER>
! <TABLE cellpadding=2 border=0 cellspacing=0 align=center valign=top width=600
bgcolor=black>
<TR>
! <TD>.</TD>
! <TD><FONT COLOR=WHITE size=3>
<CENTER><B>POP ACCOUNTS</B>
</CENTER></FONT></TD>
! <TD>.</TD>
</TR>
<TR>
<TD colspan=3>
<TABLE cellpadding=3 border=0 cellspacing=0 BGCOLOR=white
width=100%>
<TR>
<TD><CENTER>
***************
*** 48,60 ****
</center></td>
</tr>
</TABLE>
</TABLE>
! </TR></TD>
! </TABLE></TD>
! </TR>
! </TABLE></TD>
! </TR>
! </TABLE></TD>
</TR>
</TABLE>
</CENTER>
--- 42,52 ----
</center></td>
</tr>
</TABLE>
+ </TD></TR>
</TABLE>
! </TD></TR>
! </TABLE>
! </TD>
</TR>
</TABLE>
</CENTER>