WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
Show, then hide form on e-mail submit (2 posts)

  1. hrrubin
    Member
    Posted 7 months ago #

    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/

  2. hrrubin
    Member
    Posted 7 months ago #

    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.

Reply

You must log in to post.

About this Plugin

About this Topic