I have a form which is currently sitting in a division on a php page.
I would like it to do the following:
What's going to be the easiest way to achieve this?
I currently have jQuery and jQuery Tools scripts on the site in question.
EDIT: I'can't use jquery-ui as that conflicts with jQuery tools accordion.
You should have a look at this documentation about jQuery UI Dialogs:
http://jqueryui.com/demos/dialog/
Have also a look at Modal Forms
(look at the navigation menu at the right of the page). Basically, you only set up a form inside of a dialog. Having that thank you -Dialog show up for a few seconds is also easy by using jquery Dialogs and something like setTimeout
to close it.
Don't forget to include the jQuery and jQuery UI libraries into your source code. Have a look at some jQuery tutorial first, if you don't know jQuery.
For similar task, I used JQuery UI Dialog