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

Q1695 How can I change a selected item in one select box based on a choice from another select box without using frames?

You are here: irt.org | FAQ | JavaScript | Bugs | Q1695 [ previous next ]

Claude Schnéegans writes:

I think I got a new problem with Netscape Navigator 4 when borders are used in a style attribute inside a layer element.

<html>
<body>
<p style="border-color: black; border-width: 4px;">Border works</p>
</body>
</html>

But if we put the text inside a layer, then it does not work and it generates a Javascript error: document.ids.nsImplicitID3.borderWidths is not a function, even though we did not declare any Javascript code:

<html>
<body>
<layer>
<p style="border-color: black; border-width: 4px;">Border does not work</p>
</layer>
</body>
</html>

Now, I found the work around that declaring a dummy border in the body tag will make the JavaScript problem disappear, but may not render the border:

<html>
<body style="border-width: 0px;">
<layer>
<p style="border-color: black; border-width: 4px;">Border works</p>
</layer>
</body>
</html>

Feedback on 'Q1695 How can I change a selected item in one select box based on a choice from another select box without using frames?'

©2018 Martin Webb