[TYPO3] OpenX jv invocation code not working under typo3 4.2

Bluezman stever at up-south.com
Mon Sep 29 16:13:19 CEST 2008


I use the image tag and it works for me


-----Original Message-----
From: Piotr Burda <pburda at narty.pl>

Date: Mon, 29 Sep 2008 10:19:34 
To: <typo3-english at lists.netfielders.de>
Subject: [TYPO3]  OpenX jv invocation code not working under typo3 4.2


Hi

After uprading from Openads to OpenX v2.6.0 i have problems with 
javascript invocation code.

In my html template i`ve this code:

<script type='text/javascript'><!--//<![CDATA[
    var m3_u = 
(location.protocol=='https:'?'https://www.xxxxxxxxx/www/delivery/ajs.php':'http://www.xxxxxxxxxx/www/delivery/ajs.php');
    var m3_r = Math.floor(Math.random()*99999999999);
    if (!document.MAX_used) document.MAX_used = ',';
    document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
    document.write ("?zoneid=2");
    document.write ('&amp;cb=' + m3_r);
    if (document.MAX_used != ',') document.write ("&amp;exclude=" + 
document.MAX_used);
    document.write (document.charset ? '&amp;charset='+document.charset 
: (document.characterSet ? '&amp;charset='+document.characterSet : ''));
    document.write ("&amp;loc=" + escape(window.location));
    if (document.referrer) document.write ("&amp;referer=" + 
escape(document.referrer));
    if (document.context) document.write ("&context=" + 
escape(document.context));
    if (document.mmm_fo) document.write ("&amp;mmm_fo=1");
    document.write ("'><\/scr"+"ipt>");
//]]>--></script><noscript><a 
href='http://www.www.xxxxxxxxxx/www/delivery/ck.php?n=ad5b0af1&amp;cb=INSERT_RANDOM_NUMBER_HERE' 
target='_blank'><img 
src='http://www.www.xxxxxxxxxx/www/delivery/avw.php?zoneid=2&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=ad5b0af1' 
border='0' alt='' /></a></noscript>

But in source of my page i have only this small part of it:

<script type="text/javascript"><!--//<![CDATA[
    var m3_u = 
(location.protocol=='https:'?'https://www.www.xxxxxxxxxx/www/delivery/ajs.php':'http://www.www.xxxxxxxxxx/www/delivery/ajs.php');
    var m3_r = Math.floor(Math.random()*99999999999);
    if (!document.MAX_used) document.MAX_used = ',';
    document.write ("");
//]]>--></script><noscript><a 
href="http://www.www.xxxxxxxxxx/www/delivery/ck.php?n=ad5b0af1&amp;cb=INSERT_RANDOM_NUMBER_HERE" 
target="_blank"><img 
src="http://www.www.xxxxxxxxxx/www/delivery/avw.php?zoneid=2&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=ad5b0af1" 
alt="" border="0" /></a></noscript>

And as you can imagine it`s not working.

I`m using typo3 4.2.1 with qcom_htmlcleane 2.4.0
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english


More information about the TYPO3-english mailing list