Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

BBS: could I have a little help debugging? - August 21, 1998 at 22:08:02

You are here: irt.org | BBS | could I have a little help debugging? [This BBS is closed]

Posted by Ryan on August 21, 1998 at 22:08:02:

I run banner advertisements for The Common Wealth Network on my site. The
script I am having troubles with may seem unnecessary, but it was written by
myself to save time (if I explained it would probably confuse everyone
reading). It's a simple script that uses document.write to write HTML code
for the banners. The code works in IE 4 and Netscape 3, but not in Netscape
4. If anyone knows how to correct this code so it works in Netscape 4
please let me know.

To see the error in action go to http://each.mircx.com with Netscape 4.

<FORM NAME="FORM">
<INPUT TYPE="hidden" NAME="NAME" VALUE="home">
</FORM>

<script language="javascript">
document.write ("")
if (document.FORM.NAME.value=="home")

document.write ('<a
href="http://commonwealth.riddler.com/Commonwealth/bin/statthru?333033">');
document.write ('<img
src="http://commonwealth.riddler.com/Commonwealth/bin/statdeploy?333033"
ISMAP>');
document.write ("</a>");
}
</script>

Thanks a lot!!

Follow-ups:

You are here: irt.org | BBS | could I have a little help debugging? [This BBS is closed]

©2018 Martin Webb