Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

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

irt.org | Knowledge Base | JavaScript | Print | Q868 [ previous next ]

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

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?'


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb and Michel Plungjan
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.