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

Q868 Why does my HTML not print from Netscape Communicator 4.5?

You are here: irt.org | FAQ | JavaScript | Print | Q868 [ previous next ]

It depends on the JavaScript code you've got inplace - have you got frame detection code?

If so then consider using:

<script language="JavaScript"><!--
if (self == top && !((self.innerHeight == 0) && (self.innerWidth == 0))
    location.href = 'frameset.htm';
//--></script>

instead of:

<script language="JavaScript"><!--
if (sefl == top)
    location.href = 'frameset.htm';
//--></script>

Anders Gilbro Nielsen writes:

The check for innerHeight and innerWidth just HAS to be done the way it's written. Don't try to a different check without the NOT (!) operator. Because this won't work in Internet Explorer (4.0) browsers since they don't know anything about innerHeight and innerWidth.

Feedback on 'Q868 Why does my HTML not print from Netscape Communicator 4.5?'

©2018 Martin Webb