Feedback: irt.org FAQ Knowledge Base Q1489
Feedback on: irt.org FAQ Knowledge Base Q1489
Sent by Mike L. Griebel on October 19, 2000 at 05:18:49: - feedback #1882
Worth: Worth reading
Length: Just right
Technical: Just right
Comments: I did submit a similar question recently: "How do I print TWO OR MORE DIFFERENT PAGES generated using document.write()?" The problem: The browser will print the last one generated, or sometimes the generating page. I believe I have found a solution in the meantime. Instead of e.g. > x[pagenum] = open(); I put > x[pagenum] = open("text/html","replace"); The browsers behave differently. MSIE will open each "page" in different windows. Netscape opens all the pages in the same window (and gives an error message: file "text/html" cannot be found, or something -- which can be ignored). This works for me. But I would like to get rid of the error message.
Mike L. Griebel
Sent by Andrei on January 04, 2001 at 04:49:23: - feedback #2205
Worth: Worth reading
Technical: Not technical enough
Comments: No explanation why this should be this way. Why the code needs to be output into a separate window.
Sent by Andrei Astahov on January 05, 2001 at 07:40:17: - feedback #2211
Worth: Worth reading
Technical: Not technical enough
Comments: For some reasons explained, a new window has to be opened. An attempt to close it using win1.close() is ignored by NC4.75 Does the print() somehow disables close() in NC? Also if the print() is called twice on the same page, only the second call is executed in NC.
Sent by Ken on March 26, 2002 at 14:48:34: - feedback #3725
Worth: Very worth reading
Comments: This made my whole day. I was trying to solve a completely different, but apparently related problem. To illustrate, save the following script to a file and open it in a NETSCAPE 4.7x browser. My original version did NOT have the document.open() and document.close() statements and the resulting popup window did not display the contents completely. It was very frustrating, especially when IE *DID* display it correctly! <script language="JavaScript"> </script>
Sent by Jim Kankula on May 21, 2002 at 09:23:43: - feedback #3886
Worth: Very worth reading
Length: Just right
Technical: Just right
Comments: This was exactly what I was looking for. Thanks for the tip. It worked perfectly when I added the document.close();
|