0

作成した GetResponse フォームを表示し、そこからコードを取得して、wordpress サイトの fancybox ポップアップに表示しようとしています。

表示に問題があります。コンテンツがポップアップしますが、空です。

GetResponse のコードは次のようになります。 <script type="text/javascript" src="there is a code here"></script>

これが私のhtmlです:

<a href="#open_newsletter_popup" class="click_to_open_np">click</a> <div class="newsletter_signup" id="open_newsletter_popup"> <script type="text/javascript" src="the code is here"></script> </div>

そして、fancybox ポップアップ ウィンドウを表示する jquery:

jQuery(window).load(function() {
    setTimeout(function() {
      jQuery("#open_newsletter_popup").fancybox().trigger('click');
    }, 5000);        
});

これについて答えていただければ幸いです。

よろしくお願いします。

4

0 に答える 0