Page 1 of 1

window.open problems in IE7

Posted: Mon Aug 11, 2008 9:01 pm
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?

Re: window.open problems in IE7

Posted: Mon Aug 11, 2008 10:31 pm
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");

Re: window.open problems in IE7

Posted: Wed Aug 13, 2008 3:06 pm
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 ;)

Re: window.open problems in IE7

Posted: Fri May 22, 2009 6:38 am
by elinu
Brilliant, thanks!