mori
04-11-2003, 08:42 PM
My PC is working with "Windows98.second edition" and "Internet
Explore 5.50".
From the window of "Page.html" ( located on the desktop ),
I need to open a "SecondWindow", where to display the
"File.html" (located on the desktop too).
"Page.html" incorporates a JavaScript.
In a first test, Page.html was as follows.
<HTML>
<HEAD>
<TITLE>SecondWindow</TITLE>
<script language="JavaScript">
<!--
open("File.html","SecondWindow")
//-->
</script>
</HEAD>
<BODY>
</BODY>
</HTML>
When I clicked on "Page.html", no SecondWindow was created.
In a second test, I have changed the "File.html as follows:
<HTML>
<HEAD>
<TITLE>SecondWindow</TITLE>
<script language="JavaScript" type="text/JavaScript">
<!--
function openBrWindow(theURL,winName,features) {
window.open(theURL,winName,features);
}
//-->
</script>
</HEAD>
<BODY onLoad="openBrWindow('File.html','SecondWindow','');">
</BODY>
</HTML>
In this test too, when I clicked on "Page.html", no SecondWindow
was created.
--------------------------------------------------------
Why? Where are my errors?
Thanks for your help.
Explore 5.50".
From the window of "Page.html" ( located on the desktop ),
I need to open a "SecondWindow", where to display the
"File.html" (located on the desktop too).
"Page.html" incorporates a JavaScript.
In a first test, Page.html was as follows.
<HTML>
<HEAD>
<TITLE>SecondWindow</TITLE>
<script language="JavaScript">
<!--
open("File.html","SecondWindow")
//-->
</script>
</HEAD>
<BODY>
</BODY>
</HTML>
When I clicked on "Page.html", no SecondWindow was created.
In a second test, I have changed the "File.html as follows:
<HTML>
<HEAD>
<TITLE>SecondWindow</TITLE>
<script language="JavaScript" type="text/JavaScript">
<!--
function openBrWindow(theURL,winName,features) {
window.open(theURL,winName,features);
}
//-->
</script>
</HEAD>
<BODY onLoad="openBrWindow('File.html','SecondWindow','');">
</BODY>
</HTML>
In this test too, when I clicked on "Page.html", no SecondWindow
was created.
--------------------------------------------------------
Why? Where are my errors?
Thanks for your help.