Page 1 of 1

js popup page is coming up in full-screen

Posted: Tue Apr 11, 2006 1:53 pm
by Luke
The small images at the bottom of this page are supposed to open in a new window about 650 x 600 px but they come up full-screen for me. What could be the problem?

Page: http://paradisevalleyborzoi.com/lena.php

Code:

Code: Select all

<script language="javascript" type="text/javascript">
	<!--
    function popupImage(image){
    	  var newWindow = window.open("image.php?image=" + image, "toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=650,height=600", "");
    }
	//-->
  </script>
And where I'm calling it from:

Code: Select all

<div><a class="noborder" href="javascript:popupImage('images/popups/LenaTriathlon.jpg')"><img src="images/lena_triathlon.jpg" alt="Triathlon" width="150" height="120" /></a></div>

Posted: Tue Apr 11, 2006 2:02 pm
by feyd
your options are being sent to the name argument. ;)

Posted: Tue Apr 11, 2006 2:08 pm
by Luke
awesome... thanks!