Hi,
I don't know all the ins and outs of javascript so I don't know
if there is something simple i am missing. Why will this code
not display the browser width while the later will?
this does not work
<script language="JavaS cript1.2"><!--
if (document.all)
document.write( document.body.c lientWidth)
//-->
</script>
This does work
<script language="JavaS cript1.2"><!--
document.write( "width=")
if (document.all)
document.write( document.body.c lientWidth)
//-->
</script>
Obviously the browser has to pass my if statement, but I don't see
what the problem is if the bottom works in my browsers. win IE6 and Firefox1
Chuck
I don't know all the ins and outs of javascript so I don't know
if there is something simple i am missing. Why will this code
not display the browser width while the later will?
this does not work
<script language="JavaS cript1.2"><!--
if (document.all)
document.write( document.body.c lientWidth)
//-->
</script>
This does work
<script language="JavaS cript1.2"><!--
document.write( "width=")
if (document.all)
document.write( document.body.c lientWidth)
//-->
</script>
Obviously the browser has to pass my if statement, but I don't see
what the problem is if the bottom works in my browsers. win IE6 and Firefox1
Chuck
Comment