I don't know if this question I'm about to ask is
appropriate for this site but I'm at my wits end so here it
is. This is the script that I am using to open a pop-up
window (in this case automatically). It works just fine, as
does the other pop-up scripts I've downloaded.
<SCRIPT LANGUAGE="JavaScript">
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! <!-- m --><a class="postlink" href="http://javascript.internet.com">http://javascript.internet.com</a><!-- m --> -->
<!-- Begin
function popupPage() {
var page = "TEST3JS.html";
windowprops = "height=325,width=443,location=no,"
+ "scrollbars=no,menubars=no,toolbars=no,resizable=yes";
window.open(page, "Popup", windowprops);
}
// End -->
</script>
</head>
<body style="color: rgb(255,255,255); background-color: rgb(0,0,0);"
link="#ff0000" alink="#33cc00" vlink="#3333ff" onLoad="setTimeout('popupPage()', 5000);">
The problem arises after I include a short script in the
pop-up window to close it automatically
<body link="#ff0000" alink="#33cc00" vlink="#3333ff"
style="color: rgb(0,0,0); background-color: rgb(0,0,0);"
onload="setTimeout(window.close, 10000)">
or
<SCRIPT LANGUAGE="JavaScript">
<!--
setTimeout(window.close, 10000)
//-->
</script>
Both of these methods work just fine but a short time later
(usually about 30 seconds) this happens:
Iexplore
This program has performed an illegal operation and will be
shut down. If the problem persists, contact the program
vendor.
When I click Details It says this:
IEXPLORE caused an invalid page fault in module MSHTML.DLL
at 018f: 7ad42b73. etc.
When I click Close, This pops up:
There was an internal error and one of the windows you were
using will be closed. It is recommended that you save your
work, close all programs, and then restart your computer.
I then, of course, do just that.
I have searched endlessly through the Microsoft Windows/IE
websites and can find no information regarding this
particular invalid page fault. I suspect this problem is
with IE and has nothing to do with these downloaded scripts
but I'm not knowledgeable enough to know if I'm right. This
is my plight, can anyone help.
appropriate for this site but I'm at my wits end so here it
is. This is the script that I am using to open a pop-up
window (in this case automatically). It works just fine, as
does the other pop-up scripts I've downloaded.
<SCRIPT LANGUAGE="JavaScript">
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! <!-- m --><a class="postlink" href="http://javascript.internet.com">http://javascript.internet.com</a><!-- m --> -->
<!-- Begin
function popupPage() {
var page = "TEST3JS.html";
windowprops = "height=325,width=443,location=no,"
+ "scrollbars=no,menubars=no,toolbars=no,resizable=yes";
window.open(page, "Popup", windowprops);
}
// End -->
</script>
</head>
<body style="color: rgb(255,255,255); background-color: rgb(0,0,0);"
link="#ff0000" alink="#33cc00" vlink="#3333ff" onLoad="setTimeout('popupPage()', 5000);">
The problem arises after I include a short script in the
pop-up window to close it automatically
<body link="#ff0000" alink="#33cc00" vlink="#3333ff"
style="color: rgb(0,0,0); background-color: rgb(0,0,0);"
onload="setTimeout(window.close, 10000)">
or
<SCRIPT LANGUAGE="JavaScript">
<!--
setTimeout(window.close, 10000)
//-->
</script>
Both of these methods work just fine but a short time later
(usually about 30 seconds) this happens:
Iexplore
This program has performed an illegal operation and will be
shut down. If the problem persists, contact the program
vendor.
When I click Details It says this:
IEXPLORE caused an invalid page fault in module MSHTML.DLL
at 018f: 7ad42b73. etc.
When I click Close, This pops up:
There was an internal error and one of the windows you were
using will be closed. It is recommended that you save your
work, close all programs, and then restart your computer.
I then, of course, do just that.
I have searched endlessly through the Microsoft Windows/IE
websites and can find no information regarding this
particular invalid page fault. I suspect this problem is
with IE and has nothing to do with these downloaded scripts
but I'm not knowledgeable enough to know if I'm right. This
is my plight, can anyone help.