[Javascript] weird JavaScript problem in IE6
Dan
geckoz at today.com.au
Thu Dec 12 17:53:33 CST 2002
I have worked out the cause of my problem.
The problem was this:
This code works, in both IE5.5 and IE6, and NN7,
window.open('showreport.asp?url='+pageurl,"Report","HEIGHT=250,WIDTH=390,left=
300,top=250"),
But this only works in IE5.5,
window.open('http://myserver:81/reports/showreport.asp?url='+pageurl,"Report","HEIGHT=250,WIDTH=390,left=
300,top=250"),
The problem that I have to resolve now is how to
set the path in window.open to the document to be
opened.
What approach can I use so that the document
showreport.asp can be referenced from anywhere in
the directory structure, since I now cannot use
http://myserver:81/ etc. ?
Dan.
---- Begin Original Message ----
From: "Dan" <geckoz at today.com.au>
Sent: Thu, 12 Dec 2002 17:59:55 +1?S0D0o: javascript at LaTech.edu
Subject: [Javascript] weird JavaScript problem in IE6
Hi all,
I have the following script,
<SCRIPT language="JavaScript1.1">
var title
if (window.opener && !
window.opener.closed)
title =
window.opener.document.proc_vars.proc_title.value
;
document.write("<font color='red'>" +
title + "</font>")
</SCRIPT>
This works fine in IE5.5, but does not display
anything at all in IE6 or Netscape 7 . Netscape
complains about permissions denied when
attempting to access the form field values.
If I just have the following script,
<SCRIPT language="JavaScript1.1">
if (window.opener && !
window.opener.closed)
document.write("<font
color='red'>" + Testing+ "</font>")
</SCRIPT>
It works fine. What on earth is going on here?
Dan.
--- Send the right message ---
+ Today freemail +
Get your free, private email address at
http://www.today.com.au
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
hPÓ¡:ó/lists.LaTech.edu/mailman/listinfo/javascript
---- End Original Message ----
--- Send the right message ---
+ Today freemail +
Get your free, private email address at
http://www.today.com.au
More information about the Javascript
mailing list