Previous Message
Next Message

Re: [css-d] [OT] Can javascript write to existing page?

Sent by Caio Chassot on 9 July 2002 17:05


> Can javascript write to existing page?

Piece of cake. What you need (if you don't need n4 and oldies
compliance) is the W3C DOM.
With it you can dynamically build the menu. You could also use innerHTML
and innerText properties, which are non-standard but supported by IE and
N6.
I myself would go for the DOM. Basically what you need is
document.createElement and document.createTextNode.
You'll find some dom-related articles at alistapart.com and I think
there are some on webreference too. Shouldn't be hard to find once you
know what you're looking for.
This is really OT, you'd probably get more accurate help from
webdesign-L (www.webdesign-l.com)
Previous Message
Next Message

Possibly related: