Kenn Murrah wrote:
I'm trying to open a new window on top of the current window, and it does that, but the "original" (bottom) window changes to read "Object Window" ... I can get back to the original with the "Back" button but of course don't want to ask that of the user ... I simply want a new window to appear on top of the original, after which the user can close the top window and be back where he started ....
Oh, here's the code:


echo "<a href='javascript:window.open(\"$fg_id\",\"\",\"height=400,width=300,left=80,top=80,scrollbars=1\")'>";


Browser follows the link, you need to return false after opening the window:


"<a href='javascript:window.open(\"$fg_id\",\"\",\"height=400,width=300,left=80,top=80,scrollbars=1\"); return false;'>"

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to