To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.publishOpen lugnet.publish in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Publishing / 1815
1814  |  1816
Subject: 
Re: Haylp! Why does NN take ages to load these tables?
Newsgroups: 
lugnet.publish
Date: 
Wed, 22 Mar 2000 00:00:31 GMT
Viewed: 
867 times
  
In lugnet.publish, David Eaton writes:

Well... a couple things, I think...
1st, I'm not sure if having <TABLE><TD>blah</TD></TABLE> is "legal"...
According to O'Reilly's _HTML_The_Definitive_Guide_ (3rd ed, copyright 1998):

Ah.. owning a book like that would probably be a start *blush* :)


2nd, don't specify the sizes of your images in <IMG> tags-- do this in your
tables, or not at all!... When you specify the size of an image in the IMG
tag, NN (and I think MSIE too) automatically resizes the image to your
specifications, and hence has to go through a resizing routine... and that
adds time...

D'oh! Thanks for that, *tweak*, I took it out and it still displays, but with
the same delay..


3rd-- It looked like there was one extra surrounding table?
[...]
Anyway, that's all I can suggest ... hope it helps!

Yup, removed the extra table and it still works at the same speed. I think that
the problem really is, (if you didn't guess) that it is machine-generated, from
an image splicing util that I'm writing in tcl/tk partly as an exercise in
learning HTML :) This probably accounds for most, if not all of the evilness of
the resulting HTML code.

From what you said, I think I'll get my finger out and implement my tables
better - atm the routine just splits each table into two new tables at rollover
image boundaries, whereas if it takes account of all image boundaries it could
generate tables with >2 columns and >2 rows.. meaning that for the image, the
table recursion depth would be about 3 or 4, instead of about.. 9 or 10!

Perhaps learning some HTML before writing utils to blat it out would help too?
:)

Richard



Message has 1 Reply:
  Re: Haylp! Why does NN take ages to load these tables?
 
(...) Actually, it looks like you could do the exact same thing with just 1 table, with about 7 columns and about 12 rows, and using: <TD HEIGHT=____ WIDTH=_____ COLSPAN=___ ROWSPAN=_____><IMG SRC=_____></TD> for each TD tag... of course if you're (...) (25 years ago, 22-Mar-00, to lugnet.publish)

Message is in Reply To:
  Re: Haylp! Why does NN take ages to load these tables?
 
(...) Well... a couple things, I think... 1st, I'm not sure if having <TABLE><TD>blah</TD></TABLE> is "legal"... According to O'Reilly's _HTML_The_Definitive_Guide_ (3rd ed, copyright 1998): "The only content allowed within the <table> is one or (...) (25 years ago, 21-Mar-00, to lugnet.publish)

15 Messages in This Thread:







Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR