Javascript for Lightbox Sign Up Form
I'm working with aweber to insert contact forms into my website and I'm having trouble. I have placed this code in the header.php file:
<script type="text/javascript">var hide_awf_Form = true;</script>
In the body of the page where I'd like a click on an image to trigger I used a 'Code Embed' plugin where I created these custom fields:
%CODE1%
<div class="AW-Form-230821312"></div>
<script type="text/javascript">(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//forms.aweber.com/form/12/230821312.js";
fjs.parentNode.insertBefore(js, fjs);
}(document, "script", "aweber-wjs-95ja065xp"));
</script>
and within the body of the page
%CODE2%
I inserted the Direct Link Image URL correctly.
When I update the page I get a link on the image but, nothing happens.
Can you help out with this?