Preview:
      <script>
        function SetPopupText(img, heading1, heading2, description, page)
        {
            console.log(heading1);
            debugger;
            $('#h2H1').html(heading1);
            $('#h2H2').html(heading2);
            $("#imgPopupBanner").attr("src",img);
            $("#pDesc").text(description);
            $("input[type='hidden'][name='page']").val(page);
            return true;
        }
      </script>
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter