Geeez, don't you guys sleep???. Thanks Steve the 2nd one works just
fine. Its the 1st time i've use javascript btw.
Thanks,
Barry
-----------------------
Steve Holdoway wrote:
Easiest way is
<a href="javascript:window.close();">Clese</a>
or
<a href="#" onclick="javascript:window.close();">Close</a>
Steve
On Thu, 12 Jul 2007 23:47:51 +1200
barry <[EMAIL PROTECTED]> wrote:
Steve Holdoway wrote:
On Thu, 12 Jul 2007 20:07:43 +1200
barry <[EMAIL PROTECTED]> wrote:
Thanks for an interesting talk last tuesday Zane.Are you making your
sample scripts available anywhere?
Now my query...I am writing a script which uses a form to pass variables
to another html file & display selected data which is working fine
except for 1 thing - I want to generate a new tab in the browser.
The form is set up with '<FORM METHOD="POST" ACTION=photos-full.php>'
Google has let me down on this one - how do I alter this code to display
in a new tab?
TIA
Barry
You've transferred control over to photos-full.php. If you want to transfer to another
screen, then add TARGET="_blank" to the list of FORM attributes, but whether
that is rendered in a new tab or new window is, I think, a function of the browser, and
out of the control of a server-side scripting language like php.
hth,
Steve
Thanks Steve that works nicely, now what coding do I need for a
button/link to dismiss the window please?
Barry