Connecting Tech Pros Worldwide Forums | Help | Site Map

IE 6,7/Opera does not render ad

Expert
 
Join Date: Nov 2007
Posts: 126
#1: Jan 9 '08
Hello. I have looked at this over and over, and I have asked others to look at it as well. No solution as of yet.

Please see: Ad-Test Page

I execute a javascript that is supposed to put an ad on the page. It works fine in Safari and Firefox. It does not work in IE6 or IE7. I can't figure out why. I have looked at the source and generated source many times.

I do not have any ad-blocking software active on my computer or installed as an Add-on to IE6, or IE7.

Can I get a new set of eyes on this? I figure there is some security setting I might be overlooking.

acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,581
#2: Jan 10 '08

re: IE 6,7/Opera does not render ad


From what I can gather, the generated src from the linked script is:
Expand|Select|Wrap|Line Numbers
  1. <!--Begin JSERVER Skip-->
  2. var tcdacmd="sa=a;sz=2;ad;dt";
  3. <!--End JSERVER Skip-->
  4. document.write("<!-- Begin JSERVER Skip-->");
  5. document.write("<script>");
  6. document.write("document.write('<SCR' + 'IPT SRC=\"http://an.tacoda.net/an/11854/slf.js\"' + '</SCR' + 'IPT>');");
  7. document.write("</script>");
  8. document.write("<!-- End JSERVER Skip-->");document.close();
Why do you have document.write() twice?
Reply


Similar JavaScript / Ajax / DHTML bytes