Centred page after form is completed
After a user has completed a form, I want a 'Thanks for your enquiry' page to open. The code below does this but can I customise it so that I can have the page CENTRED with specific dimensions and no scroll bar!
<input type="hidden" name="redirect" value="http://www.mySite.com/thanks.htm">
Naughty double poster. No biscuits for you.
Thank you Mr Cr3ative.
I should be forever starved of biscuits for double-posting, show no mercy!
I have code for opening the window with specific dimension but from a link, so how would it work with the script above??
The code for the link I used is shown below!
Thank you wise one.
<a href="form.htm" onclick="NewWindow(this.href,'name','784','608','no');return false">Enquiry Form</a>
Ah, go on then. *passes jaffa cake*
I'm pretty much coding blind, so I've not a clue if this'll work...
If you can, send me the code so far.
Last edited by cr3ative; 11-28-2004 at 04:50 PM.
<input type="hidden" name="subject" value="Website Enquiry">
<input type="hidden" name="redirect" value="http://www.mypage.com/thanks.htm">
This is the code goes to "thanks.htm" that opens up in the main browser.
The form that this code is in is a NEW WINDOW, so I then want it to close itself (which it does already) the for a small window to open saying "Thanks for your enquiry".