Open an image in the same window
Hello there,
i've been searching for a solution to display an image in a window without creating a new window. I used a hyperlink to open a window where i displayed an image, when i click on the link "next" then i want to display the next image in the same window. For the moment i am able to display the next image in the new window.
<a href='$PHP_SELF' onclick=\"window.open('popup.php?&w=$w&h=$h&t=$t&n r=$nr&x=$x&index=1','$x','width=$w,height=530,dire ctories=no,location=no,menubar=no,scrollbars=no,st atus=no,toolbar=no,resizable=no');return false\">Next</a>";
Popup.php is the window which is already open.
|