gpigate
01-08-2009, 03:37 PM
1) Script Title: Link Floatie Script
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex5/linkfloaties.htm
3) Describe problem: Getting Error on Page when viewed in IE. Says line 463 iens6 is undefined. When you pull source line 463 is the if below.
it doesnt do this when looking at the dd script on the dd site in IE..... and its an exact copy.
<layer name="nsviewer" bgcolor="#d9e2ff" style="border-width:thin;z-index:1"></layer>
<script type="text/javascript">
if (iens6){
document.write("<div id='viewer' style='background-color:#d9e2ff;visibility:hidden;position:absolute;right:0;width:0;height:0;z-index:1;overflow:hidden;border:0 black;'></div>")
}
if (ns4){
hideobj = eval("document.nsviewer")
hideobj.visibility="hidden"
}
</script>
The script works and does what it is supposed to but I am getting this error.
Link to page ? http://outdoorsindoors.net/DEV/GPAW/index.php?page=mods/calc/calc1
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex5/linkfloaties.htm
3) Describe problem: Getting Error on Page when viewed in IE. Says line 463 iens6 is undefined. When you pull source line 463 is the if below.
it doesnt do this when looking at the dd script on the dd site in IE..... and its an exact copy.
<layer name="nsviewer" bgcolor="#d9e2ff" style="border-width:thin;z-index:1"></layer>
<script type="text/javascript">
if (iens6){
document.write("<div id='viewer' style='background-color:#d9e2ff;visibility:hidden;position:absolute;right:0;width:0;height:0;z-index:1;overflow:hidden;border:0 black;'></div>")
}
if (ns4){
hideobj = eval("document.nsviewer")
hideobj.visibility="hidden"
}
</script>
The script works and does what it is supposed to but I am getting this error.
Link to page ? http://outdoorsindoors.net/DEV/GPAW/index.php?page=mods/calc/calc1