In general though, I find the popups=evil argument a bit flawed. Take as an
example a page which has a list of 25 cars for sale.
It makes sense not to have to load all images just so you don't have popups
because most users will not want to look at all 25, or wait/pay for the
download of them.
Erm... I am not sure about lightbox, but whenever I do a script like
that it loads the image AFTER you click the image. CSS-only solutions
will have all the images in the document, and are - agreed -
pointless.
My version is 4K: http://onlinetools.org/tools/dominclude/
The whole gallery example from the book is 3.7K:
http://www.beginningjavascript.com/Chapter10/exampleFakeDynamicAlt.html
Funnily enough the argument about JavaScript being too large and slow
to load is a lot of times used by the same people who upload 800k JPGs
or resize images with HTML.
You touched a good argument for another discussion though. People do
tend to rely on massive libraries though. The solution would be to
centralise the libraries on one server and ask people to use these
URLs instead, then they'd be cached on the first page they are used
and subsequently cached. We were thinking of doing that with the YUI.
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************