View Full Version : Centred page after form is completed
11-28-2004, 08:37 AM
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">
11-28-2004, 08:41 AM
Naughty double poster. No biscuits for you.
11-28-2004, 04:40 PM
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>
11-28-2004, 05:47 PM
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.
11-29-2004, 11:34 AM
<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".
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.