Not signed in (Sign In)

SkillShare - A place to discuss Web Standards and Web Design topics

Categories

Vanilla 1.1.9 is a product of Lussumo. More Information: Documentation, Community Support.

  1.  permalink
    I have a layer on my website which acts in the same way as a pop up would. It slides onto the screen when the user visits the page. This layer contains a small user questionnaire, with a submit button for the user submit their answer.

    I would like my Thank You page to appear in the same layer as the questionnaire. At the moment it opens into a new window.

    Is this possible? And could someone point me in the right direction as to how to do this? A working example can be seen at:
    http://www.gemcomsoftware.com/worldwide/australia/default.asp?id=careersPop

    thanks
    Vicky
  2.  permalink
    Hello,

    I am not sure how your form is set up, but here are two possible ways:

    Not so slick way:
    You could have the viewer stay on the same page by using: <form action="<?echo $_SERVER['php_self']?>">

    Slick way:
    You could use AJAX. This way, the user will truly stay on the same page and no reloading will happen.
    Example: http://mtsix.com/mtcontactform/
    Resource: http://ajaxian.com/archives/ajax-contact-form or google

    Hope that helps,
    Ben
Add your comments
    Username Password
  • Format comments as (Help)