houtwurm
05-20-2004, 10:46 AM
Hello,
is there a way to load an different stylesheet on different JavaScript variable?
With XML you should de something like:
<SCRIPT LANGUAGE="JavaScript" type="text/javascript">
lcode = blabla
xmlDoc.load(lcode+"whatever.xml")
</SCRIPT>
Can you do something like that to load a different css when the lcode variable changes too?
The pages that will be in IFrames will check this lcode variable too to load there css, and that are a lot of pages, and the number of css files will be growing, so I don't want to set the different options before...
Thanx...
is there a way to load an different stylesheet on different JavaScript variable?
With XML you should de something like:
<SCRIPT LANGUAGE="JavaScript" type="text/javascript">
lcode = blabla
xmlDoc.load(lcode+"whatever.xml")
</SCRIPT>
Can you do something like that to load a different css when the lcode variable changes too?
The pages that will be in IFrames will check this lcode variable too to load there css, and that are a lot of pages, and the number of css files will be growing, so I don't want to set the different options before...
Thanx...