OT: Weird Javascript Code
Posted: Thu Sep 12, 2002 3:34 pm
Hi guys, I wrote OT for off-topic so don't get mad at me.
What the hell does this line of code mean ?
<script language="JavaScript" src="/homepage/toolbar.js"></script>
Here is why I ask. I use <BODY LEFTMARGIN=0 TOPMARGIN=0> then make a <TABLE WIDTH=100%> to make a different color area at the top of the screen. Now when I load the page there is about a 16 pixel gap on the right hand side, but when I hit Refresh it spans the whole horizontal area like it should.
This problem drove me crazy. I looked at some source from the Microsoft site and found that if I add that little script above it works fine without having to Refresh.
What the hell is going on ? Also, does anyone know of a really good JavaScript forum of the same caliber as this PHP forum ?
Thanks guys.
What the hell does this line of code mean ?
<script language="JavaScript" src="/homepage/toolbar.js"></script>
Here is why I ask. I use <BODY LEFTMARGIN=0 TOPMARGIN=0> then make a <TABLE WIDTH=100%> to make a different color area at the top of the screen. Now when I load the page there is about a 16 pixel gap on the right hand side, but when I hit Refresh it spans the whole horizontal area like it should.
This problem drove me crazy. I looked at some source from the Microsoft site and found that if I add that little script above it works fine without having to Refresh.
What the hell is going on ? Also, does anyone know of a really good JavaScript forum of the same caliber as this PHP forum ?
Thanks guys.