Hi Again
I am using a banner code which works perfectly fine with IE..but when it comes to Netscape it's awry.In Netscape 4.7 it's ok but had to adjust the top and left px.Though i kept the code inside a <td> </td> ..it's not fixed.I have to adjust the position of the banner manually.And the bigger problem is the banner doesn't show up in Netscape 7.0.Is there any code so that the program runs fine for IE and Netscape as well.
Here is the postion:
if(iex) document.write('<div style="position:absolute; ALIGN="left" ID:banner;top:200px; width:300px; height:200px; visibility:visible; z-index:100" ><a href=http://www.webdeveloper.com/forum/archive/index.php/"" onClick="clickLink(); return false;" onMouseOver="descript(); return true;"onmouseout="nothing()"><img src="images/pyris1.gif" border=0 name="banner" width="300" height="200"></a></div>')
if(nav) document.write('<layer left="200" top="200" width="300" height="200" z-index="100" visibility="show" ID="banner" ><a href=http://www.webdeveloper.com/forum/archive/index.php/"" onClick="clickLink(); return false;" onMouseOver="descript(); return true;" onmouseout="nothing()"><img src="images/pyris1.gif" border=0 name="banner" width="300 height="200"></a></layer>')
I am using a banner code which works perfectly fine with IE..but when it comes to Netscape it's awry.In Netscape 4.7 it's ok but had to adjust the top and left px.Though i kept the code inside a <td> </td> ..it's not fixed.I have to adjust the position of the banner manually.And the bigger problem is the banner doesn't show up in Netscape 7.0.Is there any code so that the program runs fine for IE and Netscape as well.
Here is the postion:
if(iex) document.write('<div style="position:absolute; ALIGN="left" ID:banner;top:200px; width:300px; height:200px; visibility:visible; z-index:100" ><a href=http://www.webdeveloper.com/forum/archive/index.php/"" onClick="clickLink(); return false;" onMouseOver="descript(); return true;"onmouseout="nothing()"><img src="images/pyris1.gif" border=0 name="banner" width="300" height="200"></a></div>')
if(nav) document.write('<layer left="200" top="200" width="300" height="200" z-index="100" visibility="show" ID="banner" ><a href=http://www.webdeveloper.com/forum/archive/index.php/"" onClick="clickLink(); return false;" onMouseOver="descript(); return true;" onmouseout="nothing()"><img src="images/pyris1.gif" border=0 name="banner" width="300 height="200"></a></layer>')