-
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!
Thank you
<input type="hidden" name="redirect" value="http://www.mySite.com/thanks.htm">
-
-
Naughty double poster. No biscuits for you.
If this function can call javascripts in (i.e set value="javascript:alert('hello')" and see if you get a message box), then you can select one of many popup window makers avaliable on dynamic drive and we'll guide you through it.
cr3ative
-
-
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.
<input type="hidden" name="redirect" value="javascript:NewWindow('http://url','name','784','608','no');return false">
cr3ative
Last edited by cr3ative; 11-28-2004 at 05:50 PM.
-
-
Jaffa Cakes
<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".
Many thanks,
Starved One.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks