Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: window.open not working on IE 5.5


Message #1 by nagler9@h... on Mon, 29 Apr 2002 21:59:26
Hello,
 I know this is not the right forum but hopefully someone will know the 
answer. I'm trying to open a new window using the window.open method but 
it will not open a new window. I am using IE 5.5. I tried using a 
javascript validation and that worked. Any suggestions on why it won't 
open a new window.
Thanks
Message #2 by Jack_Speranza <jsperanza@g...> on Mon, 29 Apr 2002 16:55:12 -0400
can you show us your code?  I've not run into any problems on this with IE
5.5...

-----Original Message-----
From: nagler9@h... [mailto:nagler9@h...]
Sent: Monday, April 29, 2002 5:59 PM
To: ASP Web HowTo
Subject: [asp_web_howto] window.open not working on IE 5.5


Hello,
 I know this is not the right forum but hopefully someone will know the 
answer. I'm trying to open a new window using the window.open method but 
it will not open a new window. I am using IE 5.5. I tried using a 
javascript validation and that worked. Any suggestions on why it won't 
open a new window.
Thanks

---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
Message #3 by nagler9@h... on Mon, 29 Apr 2002 22:06:15
Its a simple program.

<html>
<head>
<title>test</title>
<script language="javascript">
function test() {
	window.open("http://www.msn.com");
	return;
	}
</script>
</head>
<body>
<p>&nbsp
<input type="button" value="test" onclick="test()">
</body>
</html>

I think it has something to do with the permissions somewhere. I checked 
the internet options but haven't seen anything that resembles it.


> can you show us your code?  I've not run into any problems on this with 
IE
5.5...

-----Original Message-----
From: nagler9@h... [mailto:nagler9@h...]
Sent: Monday, April 29, 2002 5:59 PM
To: ASP Web HowTo
Subject: [asp_web_howto] window.open not working on IE 5.5


Hello,
 I know this is not the right forum but hopefully someone will know the 
answer. I'm trying to open a new window using the window.open method but 
it will not open a new window. I am using IE 5.5. I tried using a 
javascript validation and that worked. Any suggestions on why it won't 
open a new window.
Thanks

---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
Message #4 by "Aaron Fleming" <aaronf@w...> on Mon, 29 Apr 2002 17:07:52 -0400
What is your error message? I tried this code 'as-is' on IE 5.5 and it
worked fine. 

Do you have any tools running in the backgroud to block popups, perhaps?


Aaron Fleming
Webpartz[dot]com


-----Original Message-----
From: nagler9@h... [mailto:nagler9@h...] 
Sent: April 29, 2002 6:06 PM
To: ASP Web HowTo
Subject: [asp_web_howto] RE: window.open not working on IE 5.5


Its a simple program.

<html>
<head>
<title>test</title>
<script language="javascript">
function test() {
	window.open("http://www.msn.com");
	return;
	}
</script>
</head>
<body>
<p>&nbsp
<input type="button" value="test" onclick="test()">
</body>
</html>

I think it has something to do with the permissions somewhere. I checked

the internet options but haven't seen anything that resembles it.


> can you show us your code?  I've not run into any problems on this 
> with
IE
5.5...

-----Original Message-----
From: nagler9@h... [mailto:nagler9@h...]
Sent: Monday, April 29, 2002 5:59 PM
To: ASP Web HowTo
Subject: [asp_web_howto] window.open not working on IE 5.5


Hello,
 I know this is not the right forum but hopefully someone will know the 
answer. I'm trying to open a new window using the window.open method but

it will not open a new window. I am using IE 5.5. I tried using a 
javascript validation and that worked. Any suggestions on why it won't 
open a new window.
Thanks

---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20

---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20

Message #5 by nagler9@h... on Mon, 29 Apr 2002 22:17:08
There is no error. It just doesn't open a new window. The screen flashes 
and just stays on the same screen. I don't have any tools blocking popups.


> What is your error message? I tried this code 'as-is' on IE 5.5 and it
worked fine. 

Do you have any tools running in the backgroud to block popups, perhaps?


Aaron Fleming
Webpartz[dot]com


-----Original Message-----
From: nagler9@h... [mailto:nagler9@h...] 
Sent: April 29, 2002 6:06 PM
To: ASP Web HowTo
Subject: [asp_web_howto] RE: window.open not working on IE 5.5


Its a simple program.

<html>
<head>
<title>test</title>
<script language="javascript">
function test() {
	window.open("http://www.msn.com");
	return;
	}
</script>
</head>
<body>
<p>&nbsp
<input type="button" value="test" onclick="test()">
</body>
</html>

I think it has something to do with the permissions somewhere. I checked

the internet options but haven't seen anything that resembles it.


> can you show us your code?  I've not run into any problems on this 
> with
IE
5.5...

-----Original Message-----
From: nagler9@h... [mailto:nagler9@h...]
Sent: Monday, April 29, 2002 5:59 PM
To: ASP Web HowTo
Subject: [asp_web_howto] window.open not working on IE 5.5


Hello,
 I know this is not the right forum but hopefully someone will know the 
answer. I'm trying to open a new window using the window.open method but

it will not open a new window. I am using IE 5.5. I tried using a 
javascript validation and that worked. Any suggestions on why it won't 
open a new window.
Thanks

---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20

---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20

Message #6 by Jack_Speranza <jsperanza@g...> on Mon, 29 Apr 2002 17:13:39 -0400
Not sure if this will make a difference, but here's a couple of suggestions:

1. delete the "return" at the end of your function;
2. add a window variable and call the focus method -->

function test() {
	var new;

	new = window.open("http://www.msn.com");
	new.focus();
}

-----Original Message-----
From: nagler9@h... [mailto:nagler9@h...]
Sent: Monday, April 29, 2002 6:17 PM
To: ASP Web HowTo
Subject: [asp_web_howto] RE: window.open not working on IE 5.5


There is no error. It just doesn't open a new window. The screen flashes 
and just stays on the same screen. I don't have any tools blocking popups.


> What is your error message? I tried this code 'as-is' on IE 5.5 and it
worked fine. 

Do you have any tools running in the backgroud to block popups, perhaps?


Aaron Fleming
Webpartz[dot]com


-----Original Message-----
From: nagler9@h... [mailto:nagler9@h...] 
Sent: April 29, 2002 6:06 PM
To: ASP Web HowTo
Subject: [asp_web_howto] RE: window.open not working on IE 5.5


Its a simple program.

<html>
<head>
<title>test</title>
<script language="javascript">
function test() {
	window.open("http://www.msn.com");
	return;
	}
</script>
</head>
<body>
<p>&nbsp
<input type="button" value="test" onclick="test()">
</body>
</html>

I think it has something to do with the permissions somewhere. I checked

the internet options but haven't seen anything that resembles it.


> can you show us your code?  I've not run into any problems on this 
> with
IE
5.5...

-----Original Message-----
From: nagler9@h... [mailto:nagler9@h...]
Sent: Monday, April 29, 2002 5:59 PM
To: ASP Web HowTo
Subject: [asp_web_howto] window.open not working on IE 5.5


Hello,
 I know this is not the right forum but hopefully someone will know the 
answer. I'm trying to open a new window using the window.open method but

it will not open a new window. I am using IE 5.5. I tried using a 
javascript validation and that worked. Any suggestions on why it won't 
open a new window.
Thanks

---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20

---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20


---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
Message #7 by Jack_Speranza <jsperanza@g...> on Mon, 29 Apr 2002 17:16:21 -0400
woops... forgot "new" is a reserved word in JS... try a different name on
that window variable ;-)

-----Original Message-----
From: Jack_Speranza [mailto:jsperanza@g...]
Sent: Monday, April 29, 2002 5:14 PM
To: ASP Web HowTo
Subject: [asp_web_howto] RE: window.open not working on IE 5.5


Not sure if this will make a difference, but here's a couple of suggestions:

1. delete the "return" at the end of your function;
2. add a window variable and call the focus method -->

function test() {
	var new;

	new = window.open("http://www.msn.com");
	new.focus();
}

Message #8 by "Drew, Ron" <RDrew@B...> on Mon, 29 Apr 2002 17:17:56 -0400
Worked fine for me...try copying this html to test.html and change
http://msn.com to test.html and see if it works.

-----Original Message-----
From: nagler9@h... [mailto:nagler9@h...]
Sent: Monday, April 29, 2002 6:06 PM
To: ASP Web HowTo
Subject: [asp_web_howto] RE: window.open not working on IE 5.5


Its a simple program.

<html>
<head>
<title>test</title>
<script language=3D"javascript">
function test() {
	window.open("http://www.msn.com");
	return;
	}
</script>
</head>
<body>
<p>&nbsp
<input type=3D"button" value=3D"test" onclick=3D"test()">
</body>
</html>

I think it has something to do with the permissions somewhere. I checked

the internet options but haven't seen anything that resembles it.


> can you show us your code?  I've not run into any problems on this
> with
IE
5.5...

-----Original Message-----
From: nagler9@h... [mailto:nagler9@h...]
Sent: Monday, April 29, 2002 5:59 PM
To: ASP Web HowTo
Subject: [asp_web_howto] window.open not working on IE 5.5


Hello,
 I know this is not the right forum but hopefully someone will know the
answer. I'm trying to open a new window using the window.open method but

it will not open a new window. I am using IE 5.5. I tried using a
javascript validation and that worked. Any suggestions on why it won't
open a new window.
Thanks

---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/theprogramm
e
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/theprogramm
e
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogramm
e
r-20

---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/theprogramm
e
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/theprogramm
e
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogramm
e
r-20
Message #9 by nagler9@h... on Mon, 29 Apr 2002 22:27:08
Nothing happened, but I got an error saying that the object was missing.

> Not sure if this will make a difference, but here's a couple of 
suggestions:

1. delete the "return" at the end of your function;
2. add a window variable and call the focus method -->

function test() {
	var new;

	new = window.open("http://www.msn.com");
	new.focus();
}

-----Original Message-----
From: nagler9@h... [mailto:nagler9@h...]
Sent: Monday, April 29, 2002 6:17 PM
To: ASP Web HowTo
Subject: [asp_web_howto] RE: window.open not working on IE 5.5


There is no error. It just doesn't open a new window. The screen flashes 
and just stays on the same screen. I don't have any tools blocking popups.


> What is your error message? I tried this code 'as-is' on IE 5.5 and it
worked fine. 

Do you have any tools running in the backgroud to block popups, perhaps?


Aaron Fleming
Webpartz[dot]com


-----Original Message-----
From: nagler9@h... [mailto:nagler9@h...] 
Sent: April 29, 2002 6:06 PM
To: ASP Web HowTo
Subject: [asp_web_howto] RE: window.open not working on IE 5.5


Its a simple program.

<html>
<head>
<title>test</title>
<script language="javascript">
function test() {
	window.open("http://www.msn.com");
	return;
	}
</script>
</head>
<body>
<p>&nbsp
<input type="button" value="test" onclick="test()">
</body>
</html>

I think it has something to do with the permissions somewhere. I checked

the internet options but haven't seen anything that resembles it.


> can you show us your code?  I've not run into any problems on this 
> with
IE
5.5...

-----Original Message-----
From: nagler9@h... [mailto:nagler9@h...]
Sent: Monday, April 29, 2002 5:59 PM
To: ASP Web HowTo
Subject: [asp_web_howto] window.open not working on IE 5.5


Hello,
 I know this is not the right forum but hopefully someone will know the 
answer. I'm trying to open a new window using the window.open method but

it will not open a new window. I am using IE 5.5. I tried using a 
javascript validation and that worked. Any suggestions on why it won't 
open a new window.
Thanks

---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20

---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20


---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
Message #10 by "Aaron Fleming" <aaronf@w...> on Mon, 29 Apr 2002 17:23:54 -0400
Try this:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type="text/javascript" language="JavaScript">
//<![CDATA[
<!-- Begin
function Start(page) {
OpenWin = this.open(page, "window");
}
// End -->
//]]>
</script>

<title></title>
</head>
<body>
<center>
<form><input type="button"
onclick="Start('http://www.YOUR URL HERE.com')"
value="Open" />
</form>
</center>
</body>
</html>



Aaron Fleming
Webpartz[dot]com


-----Original Message-----
From: nagler9@h... [mailto:nagler9@h...] 
Sent: April 29, 2002 6:27 PM
To: ASP Web HowTo
Subject: [asp_web_howto] RE: window.open not working on IE 5.5


Nothing happened, but I got an error saying that the object was missing.

> Not sure if this will make a difference, but here's a couple of
suggestions:

1. delete the "return" at the end of your function;
2. add a window variable and call the focus method -->

function test() {
	var new;

	new = window.open("http://www.msn.com");
	new.focus();
}

-----Original Message-----
From: nagler9@h... [mailto:nagler9@h...]
Sent: Monday, April 29, 2002 6:17 PM
To: ASP Web HowTo
Subject: [asp_web_howto] RE: window.open not working on IE 5.5


There is no error. It just doesn't open a new window. The screen flashes

and just stays on the same screen. I don't have any tools blocking
popups.


> What is your error message? I tried this code 'as-is' on IE 5.5 and it
worked fine. 

Do you have any tools running in the backgroud to block popups, perhaps?


Aaron Fleming
Webpartz[dot]com


-----Original Message-----
From: nagler9@h... [mailto:nagler9@h...] 
Sent: April 29, 2002 6:06 PM
To: ASP Web HowTo
Subject: [asp_web_howto] RE: window.open not working on IE 5.5


Its a simple program.

<html>
<head>
<title>test</title>
<script language="javascript">
function test() {
	window.open("http://www.msn.com");
	return;
	}
</script>
</head>
<body>
<p>&nbsp
<input type="button" value="test" onclick="test()">
</body>
</html>

I think it has something to do with the permissions somewhere. I checked

the internet options but haven't seen anything that resembles it.


> can you show us your code?  I've not run into any problems on this 
> with
IE
5.5...

-----Original Message-----
From: nagler9@h... [mailto:nagler9@h...]
Sent: Monday, April 29, 2002 5:59 PM
To: ASP Web HowTo
Subject: [asp_web_howto] window.open not working on IE 5.5


Hello,
 I know this is not the right forum but hopefully someone will know the 
answer. I'm trying to open a new window using the window.open method but

it will not open a new window. I am using IE 5.5. I tried using a 
javascript validation and that worked. Any suggestions on why it won't 
open a new window.
Thanks

---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20

---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20


---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20

---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20


  Return to Index