Jump to content

[SOLVED] Pop Up window


ayok

Recommended Posts

Hi,

Now I'm trying to make a popup window with php. I've got this code:

echo"<td><a href='$url/$data[image]' onclick=window.open('$url/$data[image]','popup','width=500,height=500,scrollbars=no,
resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0') return false'>
<img src='$url/thumbnails/$data[image]'></a></td>";

 

The pop up window appears, but the image page is also opened on my browser. Could anybody tell me how to fix it?

 

Thanks

ayok

Link to comment
https://forums.phpfreaks.com/topic/63610-solved-pop-up-window/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.