Results 1 to 5 of 5

Thread: Centred page after form is completed

  1. #1
    Join Date
    Sep 2004
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default 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">

  2. #2
    Join Date
    Aug 2004
    Location
    Brighton
    Posts
    1,563
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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
    A retired member, drop me a line through my site if you'd like to find me!
    cr3ative media | read the stickies

  3. #3
    Join Date
    Sep 2004
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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>

  4. #4
    Join Date
    Aug 2004
    Location
    Brighton
    Posts
    1,563
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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.
    A retired member, drop me a line through my site if you'd like to find me!
    cr3ative media | read the stickies

  5. #5
    Join Date
    Sep 2004
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default 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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •