Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

window.print - Netscape 6.x

0 views
Skip to first unread message

Tracey

unread,
Nov 23, 2001, 8:58:53 AM11/23/01
to
Hi,

I have some javascript that enables a web page to be printed with a
logo on it etc. After cancelling/going ahead with the print
confirmation the page should return to its original state, but it does
not do this in NS6 if you cancel the print.

Here is the code ( works in IE/NS4)
It seems that the code does not return if the window.print is
cancelled.
Any ideas ?

if ( is_ie5up || is_nav4up)
{
window.print();
message("File/Print Complete");
history.go(-1);
}


Many Thanks


Tracey

0 new messages