View Full Version : Ad Code Javascript Problems

10-22-2009, 07:40 PM
Hi - you would think being a web designer that I could figure this out, but I am self-taught and have no idea how to fix this.

I am having trouble setting up some javascript for an ad rotator on the following page: http://cmcconnell.com/_blog/Freelance_Review

See the attached screenshot to see what the problem is. The code is supposed to produce an Ad in the blank area in the right hand sidebar.

Here is the code I am trying to install and I can't figure out why it won't work:

<script type="text/javascript">
Vertical1242345 = false;
ShowAdHereBanner1242345 = true;
RepeatAll1242345 = false;
NoFollowAll1242345 = false;
BannerStyles1242345 = new Array(
"a{display:block;font-size:11px;color:#888;font-family:verdana,sans-serif;margin:0 4px 10px 0;text-align:center;text-decoration:none;overflow:hidden;}",
"a.adhere{color:#666;font-weight:bold;font-size:12px;border:1px solid #ccc;background:#e7e7e7;text-align:center;}",
"a.adhere:hover{border:1px solid #999;background:#ddd;color:#333;}"
document.write(unescape("%3Cscript src='"+document.location.protocol+"//s3.buysellads.com/1242345/1242345.js?v="+Date.parse(new Date())+"' type='text/javascript'%3E%3C/script%3E"));

10-23-2009, 12:43 AM
That's a mystery, have you tried the code elsewhere to make sure it works?

CSS wise, I don't see why the ads won't show up.