Page 1 of 1

move display.php above closing body tag

Posted: Mon May 11, 2015 7:29 am
by rtb
Hi,

Im using CCount on my site and think its great.

To optimize page speeds I would like to move the display.php script from the head tags to the footer but doing so stops the counter from being displayed.

How can i fix this ?

<script src="http://www.phpjunkyard.com/ccount/display.php"></script>

Thanks in advance

Re: move display.php above closing body tag

Posted: Mon May 11, 2015 6:48 pm
by Klemen
CCount code requires the javascript to load first before it can show the values.