(Basic) How to switching from one modal window directly to another?

This question's pretty self-explanatory once you see the link : http://vilverset.com/test3.html

How do I do it?

Thanks!

Posted October 11th, 2007 at 11:27am by jyeager

Would be nice if this typebox automatically parsed url's.

Posted October 11th, 2007 at 11:28am by jyeager

Instead of switching modals, just replace the contents of the existing modal container with your thankyou message using Prototype.

Ben

Posted October 11th, 2007 at 4:54pm by bbodien

I don't know how to do that. :-(

If you walk me through it, I promise to name my first born Ben. Even if it's a girl.

Posted October 11th, 2007 at 8:12pm by jyeager

Ha, that won't be necessary.

After submitting:


$('modal_container').update('thankyou message markup here');

This locates the modal_container element in the DOM and updates its contents with whatever you pass through.

Posted October 12th, 2007 at 9:50am by bbodien

Thanks but I have no idea where to put this code in the form (if it's even in the form). Is it immediately after the submit button, with javascript tags before and after? :-S

Posted October 12th, 2007 at 10:07am by jyeager

Login or Register to Post