How to add an image in the...   How to show the user picture

How to add a tag to count visitors (example with Xiti)

01 August, 2005 19:43  EasyExpat EasyExpat

In order to add a tag provided by Xiti (or any other javascript tool providing stats), you can just implement the code in between {literal}...{/literal} (smarty code to allow javascript), such as:

==================

<tr><td>
<p align="center">
<!-- Xiti -->
{literal}
<script language="JavaScript1.1">
<!--
hsh = new Date();
hsd = document;
hsi = '<a href="http://www.xiti.com/xiti.asp?s=99999"'
hsi += ' TARGET="_top"><img width="39" height="25" border=0 '
hsi += 'src="http://logv19.xiti.com/hit.xiti?s=99999'
hsi += '&p=&hl=' + hsh.getHours() + 'x' + hsh.getMinutes() + 'x' + hsh.getSeconds();
if(parseFloat(navigator.appVersion)>=4)
{Xiti_s=screen;hsi += '&r=' + Xiti_s.width + 'x' + Xiti_s.height + 'x' + Xiti_s.pixelDepth + 'x' + Xiti_s.colorDepth;}
hsd.writeln(hsi + '&ref=' + hsd.referrer.replace('&', '$') + '"></a>');
//-->
</script>
<noscript>
<a href="http://www.xiti.com/xiti.asp?s=99999" TARGET="_blank"><img width="39" height="25" border="0" src="http://logv19.xiti.com/hit.xiti?s=99999&p=&"></a>
</noscript>
{/literal}
<!-- end Xiti -->
</p>
</td></tr>

==================

If you are looking for more help on EasyExpat's blogs, do not forget that we have a dedicated forum.

   



Add this RSS to Yahoo!    Add this RSS to Google    Add this RSS to Netvibes    Add this RSS feed to your favorites on Technorati

         
         EasyExpat on