js popup page is coming up in full-screen

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

js popup page is coming up in full-screen

Post 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>
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

your options are being sent to the name argument. ;)
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

awesome... thanks!
Post Reply