S
Steve
Hi All:
FP2003
Wonder if someone could take a look at some javascript I am trying to use in
a web page, where I am attempting to call a javascript include based on
screen resolution:
<script language="javascript" type="text/javascript">
var sWidth = screen.width
if(sWidth==800){'document.write('<script language=javascript
src=incNav.js'></script>');
}
else{
document.write("too bad")
</script>
Seems like I have done this before sometime, but I can't seem to get this
syntax to work.
TIA
Steve G
FP2003
Wonder if someone could take a look at some javascript I am trying to use in
a web page, where I am attempting to call a javascript include based on
screen resolution:
<script language="javascript" type="text/javascript">
var sWidth = screen.width
if(sWidth==800){'document.write('<script language=javascript
src=incNav.js'></script>');
}
else{
document.write("too bad")
</script>
Seems like I have done this before sometime, but I can't seem to get this
syntax to work.
TIA
Steve G