Hi,

Thanks for your help,

I have changed my code to :

<a href="http://www.xiti.com/xiti.asp?s=xxxxxx"; title="Mesurez votre audience">
<script type="text/javascript"><![CDATA[
<!--
Xt_param = 's=xxxxxx&p=';
Xt_r = document.referrer;
Xt_h = new Date();
Xt_i = '<img width="39" height="25" border="0" ';
Xt_i += 'src="http://logv27.xiti.com/hit.xiti?'+Xt_param;
Xt_i += '&hl='+Xt_h.getHours()+'x'+Xt_h.getMinutes()+'x'+Xt_h.getSeconds();
if(parseFloat(navigator.appVersion)>=4)
{Xt_s=screen;Xt_i+='&r='+Xt_s.width+'x'+Xt_s.height+'x'+Xt_s.pixelDepth+'x'+Xt_s.colorDepth;}
document.write(Xt_i+'&ref='+Xt_r.replace(/[<>"]/g, '').replace(/&/g, '$')+'" 
title="Analyse
d\'audience">');
//-->]]>
</script>
<noscript>
audit et mesure d'audience visiteurs internet par <img width="39" height="25"
src="http://logv27.xiti.com/hit.xiti?s=xxxxxx&amp;p="; alt="Analyse d'audience" 
/>
</noscript></a>


It is bizarre because it works for some of my pages and it does not work for 
some others. I have
noticed that the one for which it does not work have in their header the 
following code :

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>

For these ones, the javascrip block appears like that :

&lt;!--
Xt_param = 's=xxxxxx&amp;p=';
Xt_r = document.referrer;
Xt_h = new Date();
Xt_i = '&lt;img width="39" height="25" border="0" ';
Xt_i += 'src="http://logv27.xiti.com/hit.xiti?'+Xt_param;
Xt_i += '&amp;hl='+Xt_h.getHours()+'x'+Xt_h.getMinutes()+'x'+Xt_h.getSeconds();
if(parseFloat(navigator.appVersion)&gt;=4)
{Xt_s=screen;Xt_i+='&amp;r='+Xt_s.width+'x'+Xt_s.height+'x'+Xt_s.pixelDepth+'x'+Xt_s.colorDepth;}
document.write(Xt_i+'&amp;ref='+Xt_r.replace(/[&lt;&gt;"]/g, 
'').replace(/&amp;/g, '$')+'"
title="Analyse d\'audience"&gt;');
//--&gt;

The ones which work do not have the <?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE ... part and for them, the javascript code appears like that :

<!--
Xt_param = 's=xxxxxx&p=';
Xt_r = document.referrer;
Xt_h = new Date();
Xt_i = '<img width="39" height="25" border="0" ';
Xt_i += 'src="http://logv27.xiti.com/hit.xiti?'+Xt_param;
Xt_i += '&hl='+Xt_h.getHours()+'x'+Xt_h.getMinutes()+'x'+Xt_h.getSeconds();
if(parseFloat(navigator.appVersion)>=4)
{Xt_s=screen;Xt_i+='&r='+Xt_s.width+'x'+Xt_s.height+'x'+Xt_s.pixelDepth+'x'+Xt_s.colorDepth;}
document.write(Xt_i+'&ref='+Xt_r.replace(/[<>"]/g, '').replace(/&/g, '$')+'" 
title="Analyse
d\'audience">');
//-->


Any idea why I have the problem only for some pages and how I can fix this ?

Thanks for your help.

Best regards.

Anthony




 --- beatejung <[EMAIL PROTECTED]> a �crit : 
> hi anthony,
> 
> remember <!-- --> mean comments in xsl too so you hide your javascript. you 
> also should make &gt; and &lt; of > and <.
> 
> hope this helps you .. i made a similar mistake some time ago ;-)
> beate
> 
> 
> Am Donnerstag, 3. März 2005 15:34 schrieb anthony herve:
> > <a href="http://www.xiti.com/xiti.asp?s=xxxxxx"; title="Mesurez votre
> > audience"> <script type="text/javascript">
> > <!--
> > Xt_param = 's=xxxxxx&p=';
> > Xt_r = document.referrer;
> > Xt_h = new Date();
> > Xt_i = '<img width="39" height="25" border="0" ';
> > Xt_i += 'src="http://logv27.xiti.com/hit.xiti?'+Xt_param;
> > Xt_i += '&hl='+Xt_h.getHours()+'x'+Xt_h.getMinutes()+'x'+Xt_h.getSeconds();
> > if(parseFloat(navigator.appVersion)>=4)
> > {Xt_s=screen;Xt_i+='&r='+Xt_s.width+'x'+Xt_s.height+'x'+Xt_s.pixelDepth+'x'
> >+Xt_s.colorDepth;} document.write(Xt_i+'&ref='+Xt_r.replace(/[<>"]/g,
> > '').replace(/&/g, '$')+'" title="Analyse d\'audience">');
> > //-->
> > </script>
> 
> -- 
> ����
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>  


        

        
                
D�couvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! 
Cr�ez votre Yahoo! Mail sur http://fr.mail.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to