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

Feedback on: irt.org FAQ Knowledge Base Q428, Monday February 18, 2008 at 16:47:36

You are here: irt.org | About | Feedback | 5213 [ previous next ]

Feedback on:
irt.org FAQ Knowledge Base Q428

Sent by
GordonH on Monday February 18, 2008 at 16:47:36

Worth:
Worth reading

Length:
Just right

Technical:
Just right

Comments:
I tried the original code and got the error that the other person had. So I took out the backslashes before the single quotes. That worked for me.

<SCRIPT LANGUAGE="JavaScript"><!--
window.open("mywindow.htm","newwindow","width=725,height=125");
setTimeout('window.close()',5000);
//--></SCRIPT>

Then I wanted to get rid of the confirmation box. So I tried a suggestion from http://blogs.x2line.com/al/articles/350.aspx
I did not quite understand the reasoning but it works. Go to the link for the explanation. I needed to open a window to the application that did not have a menu system so I threw in a focus call to bring the new window to the front.

<SCRIPT LANGUAGE="JavaScript"><!--
NewWindow = window.open("mywindow.htm","newwindow","width=725,height=125");
NewWindow.focus();
window.opener = 'x';
setTimeout('window.close()',5000);
//--></SCRIPT>




Other feedback on 'irt.org FAQ Knowledge Base Q428' - show all

©2018 Martin Webb