<FORM> <INPUT type="button" value="New Window!" onclick="window.open('http://www.mysite.com.indec.html','mywindow','width=400,height=200,toolbar=yes, location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,copyhistory=yes, resizable=yes')"> </FORM>
this works just the way i want it
but now i want to add a image so when the image is clicked it opens a new window that is 400 in hegight and 200 in w
so i cant just normal link it
my image
src="<?php echo $row['poke1pic'] ?>" width="56" height="55" /><br>
i have this now
td class="headings"><center><a href="java script:;" onclick='java script:window.open("index.html","Pokemon_Stats","toolbar=no,height=420px,width=200px");'></a><img src="<?php echo $row['poke1pic'] ?>" width="56" height="55" /><br>
Which don't work it wont let me click on the image