jeffbouldin
Technical User
Forgive me, I'm signing in under my husbands name because I can't remember my username or password, lol. Anyway, I've signed up at Adify to have ads generated on my blog. Adify provided me with the Javascript needed to insert into my site. But it *will not* work and when I run it through a validator, I get all kind of error messages. I know *nothing* about javascript so I was wondering if any of you might be able to clean up the coding and/or tell me what is wrong. Here is what Adify gave me:
<!-- Begin Adify tag for One Womans Cottage Life ID####### -->
<script type="text/javascript">
<!--
sr_adspace_id = ######;
sr_adspace_width = 120;
sr_adspace_height = 600;
sr_adspace_type = "graphic";
sr_color_back = "#FFFFFF";
sr_color_text = "#000000";
sr_color_url = "#E15F00";
sr_color_title = "#3F66B3";
sr_color_border = "#3366CC";
sr_color_your_ad = "#2852A3";
sr_color_your_adbk = "#FFDD81";
sr_text_your_ad = "Advertise with us";
-->
</script>
<script>
document.write("<scr"+"ipt type='text/javascr"+"ipt' src='"+(location.protocol.indexOf('https')>-1 ? " : " document.write("</scr"+"ipt>");
</script>
<script type="text/javascript">srExecute();</script>
<!-- End Adify tag for One Womans Cottage Life ID#575507 -->
Thank you in advance for all your help!
~Kim
<!-- Begin Adify tag for One Womans Cottage Life ID####### -->
<script type="text/javascript">
<!--
sr_adspace_id = ######;
sr_adspace_width = 120;
sr_adspace_height = 600;
sr_adspace_type = "graphic";
sr_color_back = "#FFFFFF";
sr_color_text = "#000000";
sr_color_url = "#E15F00";
sr_color_title = "#3F66B3";
sr_color_border = "#3366CC";
sr_color_your_ad = "#2852A3";
sr_color_your_adbk = "#FFDD81";
sr_text_your_ad = "Advertise with us";
-->
</script>
<script>
document.write("<scr"+"ipt type='text/javascr"+"ipt' src='"+(location.protocol.indexOf('https')>-1 ? " : " document.write("</scr"+"ipt>");
</script>
<script type="text/javascript">srExecute();</script>
<!-- End Adify tag for One Womans Cottage Life ID#575507 -->
Thank you in advance for all your help!
~Kim