On Mon, 4 Nov 2002, Philip Mudd wrote: > > I am wondering if it is possible to change a stylesheet dynamically. > For example, in IE, > document.stylesheets[0].href = "newSheet.css2"; > will change the current stylesheet to newSheet.css.... > document.stylesheets[0].href is read only in mozilla so is there another > way....??
document.stylesheet[0].ownerNode.href = 'newSheet.css'; ...might work. -- Ian Hickson )\._.,--....,'``. fL "meow" /, _.. \ _\ ;`._ ,. http://index.hixie.ch/ `._.-(,_..'--(,_..'`-.;.'
