Question
Open window php
I would like to open a window if a user clicks on an image to
enlarge
it. Here's the code:
<img src="<?php echo $row_rssport['result_pic']; ?>" alt="<?php echo
$row_rssport['result_picalt']; ?>" border="0" class="imgright"
onclick="window.open('sport_picbig.php?result_id=<?php echo
$row_rssport['result_id']; ?>','',450,450,'0:0','sc','r');return false"
<?php echo $dims; ?> /></a> <?php } ?>
It works in IE7, that's fine, but only a very small window opens in FF2.
So there is probably something wrong in my code. Can someone point me
into the right direction?
Martin
it. Here's the code:
<img src="<?php echo $row_rssport['result_pic']; ?>" alt="<?php echo
$row_rssport['result_picalt']; ?>" border="0" class="imgright"
onclick="window.open('sport_picbig.php?result_id=<?php echo
$row_rssport['result_id']; ?>','',450,450,'0:0','sc','r');return false"
<?php echo $dims; ?> /></a> <?php } ?>
It works in IE7, that's fine, but only a very small window opens in FF2.
So there is probably something wrong in my code. Can someone point me
into the right direction?
Martin