Subject:
|
Re: Haylp! Why does NN take ages to load these tables?
|
Newsgroups:
|
lugnet.publish
|
Date:
|
Wed, 22 Mar 2000 14:23:31 GMT
|
Viewed:
|
985 times
|
| |
| |
In lugnet.publish, Richard Franks writes:
> 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!
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 generating the HTML with tcl/tk, your
code needs to be smarter to figure out how exactly to cut the image up nicely
using only one table, but it CAN be done!
> Perhaps learning some HTML before writing utils to blat it out would help too?
> :)
Well, as always, one of the best ways to learn something is to jump right in!
:) (but having the O'Reilly book sure does help!)
DaveE
|
|
Message is in Reply To:
| | Re: Haylp! Why does NN take ages to load these tables?
|
| (...) Ah.. owning a book like that would probably be a start *blush* :) (...) D'oh! Thanks for that, *tweak*, I took it out and it still displays, but with the same delay.. (...) Yup, removed the extra table and it still works at the same speed. I (...) (25 years ago, 22-Mar-00, to lugnet.publish)
|
15 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|