Close on submit

Home Forums Easy FancyBox Pro Close on submit

This topic contains 2 replies, has 2 voices, and was last updated by  Kristijan Marin 2 years, 1 month ago.

  • Author
  • #7477

    Kristijan Marin


    I use Contact Form 7 …. and under advanced settings I can put javascript call to do whatever I want after the submit button was successfully executed ….

    So how can I close fancybox when my form was submitted.

    Thank you,

  • #7483


    Hi Kris, the call that is needed to close fancybox is jQuery.fancybox.close();

    Or, if the light box content was embedded in iFrame mode then use parent.jQuery.fancybox.close(); but I suppose that you are using Inline Content mode for the contact form.

  • #7489

    Kristijan Marin

    great it works. Thanks.

You must be logged in to reply to this topic.

Site by Pharéo | Hosted on The Permanently Moving Network