HTML code problem

  • Author
    Posts
  • #361722

    isacathrine
    Member

    In Norway, we have this site who counts the visits on your blog.
    http://www.ratix.no
    To get it to count these hits, I have to put this HTML code into the source(?) code.
    I can´t find that code, and I havn´t done it that way on other blogs.
    But, when I try to but it into the textwidget, it looks weird. Just look at my blog http://www.isacathrine.wordpress.com
    Something is wrong with it. But I don´t know what.
    Some ideas?

    I have used this several times before, with other blogs (like blogspot), with no prolems like this..

    The blog I need help with is isacathrine.wordpress.com.

    #361958

    1tess
    Moderator Emeritus

    isacathrine
    Paste the code here so we can take a look. Paste it between backticks or WordPress will strip out parts of it.
    On a U.S. keyboard, the backtick is on the same key as the tilde ~ next to the “1” key.

    #361988

    isacathrine
    Member

    <***!– START Ratix.no ratingskode –>
    <script type=”text/javascript”>
    <!–
    Nnv=navigator;Nna=Nnv.appName;Nd=document;Nd.cookie=”b=b”;Nc=0;if(Nd.cookie)Nc=1;
    Nn=(Nna.substring(0,2)==”Mi”)?0:1;Ns=screen;Npx=(Nn==0)?Ns.colorDepth:Ns.pixelDepth;
    str='<img src=”http://c.ratix.no/7944;’+Ns.width+’x’+Ns.height+’;’+Npx+’;’+Nc+’;’;
    str=str+escape(Nd.referrer)+’;’+Math.random()+'” width=”88″ height=”31″ border=”0″>’;
    document.write(‘‘+str+’‘);
    // –>
    </script>
    <noscript><img src=”http://c.ratix.no/7944;0x0;0;0;-;0″ alt=”Ratix.no Rating” width=”88″ height=”31″ border=”0″></noscript>
    <!– END Ratix.no ratingskode –***>

    #361990

    carocat
    Member

    I’m afraid that won’t work here as Javascript isn’t allowed: http://support.wordpress.com/code/

    Have a look at http://statcounter.com/ maybe?

The topic ‘HTML code problem’ is closed to new replies.