Xurion Posted April 4, 2008 Share Posted April 4, 2008 Hi all, I've come across a problem where my window.open call tries to download the page instead of view it in a popup but only in IE. My popup is of an image, and the code is: <a href="" onclick="window.open(main_image.src, '', 'width=500,height=500,scrollbars=yes'); return false"><img src="image.php?property=57-vereda_front.jpg&w=300" name="main_image" border="0"></a> When you click on the image you get a request to save the image.php file. Is there something I am missing? Firefox opens the popup window fine. Thanks in advance. Xur~ Quote Link to comment Share on other sites More sharing options...
nogray Posted April 4, 2008 Share Posted April 4, 2008 Check the headers of image.php Quote Link to comment Share on other sites More sharing options...
Xurion Posted April 7, 2008 Author Share Posted April 7, 2008 Check the headers of image.php Ok I think you've got it as there are no headers there. What headers should I input? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.