Support » Plugin: Contact Form 7 » Show, then hide form on e-mail submit

  • hrrubin

    (@hrrubin)


    On my website I have a contact form 7 attached to a div near the top bar with a contact button above.

    Right now, it’s visible so you can see it, but I want it to appear, when I push the button and go away when the user have succesfully send the message, with a small delay.

    How do I do this?

    http://wordpress.org/plugins/contact-form-7/

Viewing 1 replies (of 1 total)
  • hrrubin

    (@hrrubin)

    Okay, so the core animation works on the toggle button. I still want the auto-close on succesful submit.

    $(document).ready(function(){
    	$("#contactform").hide();
    	$("#plus").show();
    		$('#plus li').click(function(){
    		$("#contactform").slideToggle(300);
        });
    });

    Any help is much appreciated.

Viewing 1 replies (of 1 total)
  • The topic ‘Show, then hide form on e-mail submit’ is closed to new replies.