+ Reply to Thread
Results 1 to 7 of 7

Thread: Belstat counter doesn't work

  1. #1
    ventilatorr is offline x10Hosting Member ventilatorr is an unknown quantity at this point
    Join Date
    Dec 2009
    Posts
    4

    Question Belstat counter doesn't work

    Hello,

    I've made a simple site and I want to add a user counter. I registered on belstat.nl and added their code to my site.

    When I visit my site the counter icon doesn't show up. It does show up when I open the index.html from my desktop but not when visited on bier.mijnbal.x10.mx

    Here's the HTML code.
    <html>

    <title> gratis bier </title>

    <BODY BGCOLOR="#99CC00">
    <!-- Start of belstat.nl Counter -->

    <script type="text/javascript">
    <!--
    d=document;
    pag="";col="";scr=0;b=navigator.appName;
    scr=screen.width+"*"+screen.height;
    ref=parent==self ? escape(window.document.referrer) : escape(top.document.referrer);
    pag=escape(d.URL);
    if (b != "Netscape") {col=screen.colorDepth}
    else {col=screen.pixelDepth}
    if(col=="undefined"){col="";}
    d.write("<a href=http://www.belstat.nl/viewstat.asp?UserID=ventilatorr&" + "amp;" + "lang=nl target=_blank><img border=0 src=\"http://www.belstat.nl/regstat.aspx?");
    d.write("UserID=ventilatorr&BColor=lightgreen&refe r=" + ref + "&pag=" + pag + "&b=" + b + "&col=" + col + "&scr=" + scr);
    d.write("\" align=center width=16 height=16 alt=\"Monitored*by*BelStat*-*Your*Site*Counts\"><\/a>");
    // -->
    </script>
    <!-- End of belstat.nl Counter -->

    <b><BR> <BR> <BR> <FONT COLOR="yellow"> <FONT SIZE="+6"> <center> <tt> Het gratis bier voor vandaag is op, <BR> kom morgen terug. <BR><BR> <BR> <BR> <BR></FONT> <FONT SIZE="+4"> Voor meer informatie over de nieuwe lading SMS BIER naar:<BR>06 8166 6069. </tt> <b></FONT></font> </center>

    </body>

    </html>

  2. #2
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,636

    Re: Belstat counter doesn't work

    Small green bar graph icon in the upper left hand corner? A link to the stats site?

    I see it.
    Nothing is always absolutely so.

  3. #3
    ventilatorr is offline x10Hosting Member ventilatorr is an unknown quantity at this point
    Join Date
    Dec 2009
    Posts
    4

    Re: Belstat counter doesn't work

    On the online version? I can only see it when I load the file from my PC. I tried Opera and IE.

  4. #4
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,636

    Re: Belstat counter doesn't work

    Online version /taart/
    IE8, Firefox & Chrome

    So, where's the free beer?
    Nothing is always absolutely so.

  5. #5
    ventilatorr is offline x10Hosting Member ventilatorr is an unknown quantity at this point
    Join Date
    Dec 2009
    Posts
    4

    Re: Belstat counter doesn't work

    must be me then.

    As you can see there's no free beer left for today

  6. #6
    ventilatorr is offline x10Hosting Member ventilatorr is an unknown quantity at this point
    Join Date
    Dec 2009
    Posts
    4

    Re: Belstat counter doesn't work

    I found out what's the problem. the .tk link doesn't show the counter, the direct link does.

    What can I do? it should be the same site.

  7. #7
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,636

    Re: Belstat counter doesn't work

    ref=parent==self ? escape(window.document.referrer) : escape(top.document.referrer);

    when run in frames, you are trying to access top.document which is illegal since the parent is from a different domain than the frame. (run the page in FireFox and look at the ErrorConsole and you will see the error recorded).

    Generally, using frames for redirects is not a good idea. Just move the .tk domain to where the content is hosted.
    Nothing is always absolutely so.

+ Reply to Thread

Similar Threads

  1. A new attempt to get web-site counter to work
    By gurfle in forum Free Hosting
    Replies: 5
    Last Post: 08-19-2010, 03:38 PM
  2. Still trying to get web-site counter to work
    By gurfle in forum Free Hosting
    Replies: 0
    Last Post: 07-09-2010, 11:08 PM
  3. Hit Counter.
    By tpounds in forum Programming Help
    Replies: 2
    Last Post: 11-29-2008, 02:28 PM
  4. Replies: 17
    Last Post: 01-17-2007, 04:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers