window.open problems in IE7

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
User avatar
deeessay
Forum Commoner
Posts: 55
Joined: Sat May 24, 2008 1:02 am

window.open problems in IE7

Post by deeessay »

Howdy, i used window.open to open a pop up window. It works fine in Firefox 3 but not in IE7....

The script does not work at all not even opening in a new tab.


I have a <a href='#' onclick='func1'>TEST</a> link the when clicked, calls func1. Now func1 contains

window.open('test.php','test',"resizable=no,addressbar=no,toolbar=no,status=no,location=1,height=320px,width=700px,top=200,left=200");



Can anyone help me?
jzone1
Forum Newbie
Posts: 3
Joined: Mon Aug 11, 2008 1:58 pm

Re: window.open problems in IE7

Post by jzone1 »

Don't know if this helps but this works for me in IE7

<a onClick="javascript:window.open('http://media.thatcrack.com/ts.php?dj=DJ Focuz&mt=DJ Focuz The Underdoggs Volume 3','thatcrackplayer','width=521,height=301,status=no');" href="javascript:;">--Listen--</a>

it comes from this page

http://thatcrack.com/view-listing.php?id=755

window.open('test.php','test',"resizable=no,addressbar=no,toolbar=no,status=no,location=1,height=320px,width=700px,top=200,left=200");
Alan01252
Forum Newbie
Posts: 12
Joined: Sun Aug 03, 2008 3:20 pm

Re: window.open problems in IE7

Post by Alan01252 »

Just a heads up incase some one stumbles upon this post from google.

If you have a space in your window name IE will throw a wobbly ;)
elinu
Forum Newbie
Posts: 1
Joined: Fri May 22, 2009 6:36 am

Re: window.open problems in IE7

Post by elinu »

Brilliant, thanks!
Post Reply