Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] weird JavaScript problem in IE6


  • From: javascript@xxxxxxxxxx (Dan)
  • Subject: [Javascript] weird JavaScript problem in IE6
  • Date: Fri, 13 Dec 2002 10:53:33 +1100

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=3D'+pageurl,"Report","HEIGHT=3D250,WIDT=
H=3D390,left=3D

300,top=3D250"), 

But this only works in IE5.5, 
window.open('http://myserver:81/reports/showreport.asp?url=3D'+pageurl,=
"Report","HEIGHT=3D250,WIDTH=3D390,left=3D

300,top=3D250"), 

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@xxxxxxxxxxxx>
Sent: Thu, 12 Dec 2002 17:59:55 +1?=93S0D0=02=17o: javascript@xxxxxxxxx=
u
Subject: [Javascript] weird JavaScript problem in IE6


Hi all,

I have the following script, 
<SCRIPT language=3D"JavaScript1.1">
=09
=09var title
=09if (window.opener && !
window.opener.closed)
   =09title =3D 
window.opener.document.proc_vars.proc_title.value
;
   =09document.write("<font color=3D'red'>"  + 
title + "</font>")

=09</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=3D"JavaScript1.1">
=09
=09=09if (window.opener && !
window.opener.closed)
   =09   =09document.write("<font 
color=3D'red'>"  + Testing+ "</font>")

=09</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@xxxxxxxxxx
hP=83=D3=A1:=F3=08/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