PDA

View Full Version : HTML Overlays (not my work)


Alex Vincent
08-30-2004, 09:21 PM
by Daniel Glazman of Disruptive Innovations (http://disruptive-innovations.com/zoo/20040830/HTMLoverlays.html)

The idea is very cool.

liorean
08-30-2004, 09:40 PM
I like it. [forget what I said here...]

jkd
08-30-2004, 11:08 PM
He can fix the style attribute thing by reading/setting style.cssText, instead of just .style. Yes?

mikemalter
08-31-2004, 07:21 PM
Isn't this just like xml and xslt?

brothercake
08-31-2004, 10:13 PM
It's XML, but not XSLT - he's using DOM methods to get data from one XML document (the external file) and insert it into another one (the main page)

Alex Vincent
09-01-2004, 02:24 AM
Furthermore, the main page doesn't have to be XML. It can be HTML. That was, I gather, the original intent.

jbot
09-08-2004, 11:43 AM
that is very cool. i can see that being particularly useful when developing wireless applications for handheld devices where connection bandwidth is vitally important. costs can be saved on the clientside, since they wouldn't have to request the same HTML over-and-over again. sweet!

one caveat tho is that it's not exactly accessible. you couldn't really use it on a mainstream website. given it's reliance on JS, using an overlay to populate a navbar wouldn't help search engines spider your site. moreover, it would fall foul of accessibility laws wherein disabled users have to be able to navigate a site without JS. that's a flaw.

nonetheless, for weblication development, there's a lot of potential. :D