javascripttumblrhitcounter

creating short line JavaScript for a tumblr visit counter


I mixed around with other sample stuff and came up with this code:

</head>    
    <li><a id="counter" href="/"><img src="http://s1.freehostedscripts.net/ghitcounter.php?site=ID294699&s=94"></a>
</ol>

I want it to show a counter on my tumblr page, when it uses however, it comes up with a blank image instead of using the changing image on the actual link.

Any help would be appreciated, I am a noob to Java but I do know Python and a little of html.

So, just to re-iterate what happens,

And I would like it to display the counter.


Solution

  • This is not a Java question. The above url points to a snippet of JavaScript, not an image. You want something like:

    <script type="text/javascript" src="http://s1.freehostedscripts.net/ghitcounter.php?site=ID294699&s=94"></script>