javascript - Open a popup using on_sent_ok using Contact Form 7 and Ninja Popups? -
i using wordpress contact form 7 , ninja popups. open popup when form sent using cf7's additional settings. have tried:
on_sent_ok: "snp_open_popup(’’,’’,’snppopup-content-popupid’,’content’);"
(where popupid id of ninja popup want open) not working.
some javascript examples call popup using ninja popups:
popup_id=’25’ ;snp_open_popup(’’, ’’, ‘snppopup-content-’ + popup_id, ‘content’);
or
jquery(“selector”).click(function(){ return snp_open_popup(’’,’’,’snppopup-content-popupidhere’,’content’); });
this used ninja popup shortcode inside page/post content: [ninja-popup id=xx] or
onclick=”return snp_open_popup(’’,’’,’snppopup-content-popupidhere’,’content’); ”
and [ninja-popup id=xx] in page content.
i figure this, there has way call popup using on_sent_ok haven't been able figure out.
any appreciated - thanks!
Comments
Post a Comment