This script may not be included in any sort of document with out this heading. You will need a server-driven, text-based counter for this script, as, fortunatley, my ISP does. Otherwise you may have to do some hacking to get JavaScript to do a counter. Please email me with any questions, comments or concerns at adaml@cris.com. You should make sure you have space enough for the number of hits or else you will be sorry. */
function counter(count) { var digits=6; // Set the number of digits as desired. var imgdir=\'\'; // You should set this to represent the relative // location of the images named 0.gif, 1.gif, etc.
var scrap=count; document.write(\'<CENTER><TABLE WIDTH=\"\' + (digits*15) + \'\" BORDER=\"0\"><TR><TD>\'); for (var i = digits; i >= 1; i--) { var divisor = Math.pow(10, i-1); var remainder = count % divisor; var digit=((scrap-remainder)/divisor); document.write(\'<IMG SRC=\"\' + imgdir + digit + \'.gif\" WIDTH=\"15\" HEIGHT=\"20\">\'); scrap=remainder; } document.write(\'</TD></TR></TABLE></CENTER>\'); }
counter(<!--#exec cgi=\"/cgi-bin/counter\"-->) // Change this to fit your server\'s counter.
Det er ikke lige helt hvad jeg skal bruge, men du har givet mig noget at lege med, som jeg måske kan vende til mit behov, så du får pointene alligevel. stig-b
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.