[thelist] writing in forms in Netscape

Arthur Noel adn at clara.net
Fri Mar 24 11:41:09 2000


Has anyone ever seen this weird little thing Netscape does when you
document.write a form?

Say I have a bit of code that writes out a form laid out with a table
containing two drop-down boxes, a text input field, a button, and some
regular text. The form elements are (though not every time) invisible when
the page has loaded until the mouse passes over them when they become
visible. The regular text is consistently visible.

This is happening in Netscape 4.08 on windows 98

Thanks,
Arthur

<TIP TYPE="Netscape weirdness/screen object">

If you use Netscape 4.08 try this out

<HTML>
<HEAD>
<TITLE>Netscape 4.08 bug</TITLE>
</HEAD>
<BODY>
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!--
document.write("screen height is: " + screen.height)
document.close();
// -->
</SCRIPT>
</BODY>
</HTML>

It should return the height, in pixels, of your screen; it doesn't.

Not all versions of Netscape 4.x have this problem and screen.width seems to
play nice.

</TIP>