ayok Posted August 6, 2007 Share Posted August 6, 2007 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 Quote Link to comment Share on other sites More sharing options...
AndyB Posted August 6, 2007 Share Posted August 6, 2007 er, remove <img src='$url/thumbnails/$data[image]'> from your code, perhaps? Quote Link to comment Share on other sites More sharing options...
ayok Posted August 6, 2007 Author Share Posted August 6, 2007 no, i removed <a href='$url/$data[image]' thx ayok Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.