o^3 Cubic Circle

Access counter

An access counter is realised using either plain RXML or in conjunction with a few JavaScript statements.

Numeric counter

For a simple numeric counter integrated in the page, you'd insert the following RXML directive into your page:
This page has been accessed <accessed> times.

Which creates the following counter:


This page has been accessed times.

Graphic counter

For a graphic counter integrated in the page, you'd insert the following snippet into your page:
This page has been accessed
<img height=1 width=1 alt="<accessed>"
><script language=javascript>
<!-- // Copyright (c) 1998, Stephen R. van den Berg, The Netherlands
    // v1.13 1998/04/13	    <srb@cuci.nl>
  preamble="000";				// Determines the minimum width
  a="<accessed>";
  if(a.length<preamble.length)
     a=preamble.substring(a.length,preamble.length)+a;
  for(i=0;i<a.length;)
     document.write("<img src=http://www.cuci.nl/pictures/alpha/digiface/"+
      a.charAt(i++)+".gif align=middle alt=\"\"\n>");
//-->
</script>
times.

Which creates the following counter:


This page has been accessed <accessed> times.
Fontvariations can experimented with by substituting the digiface font specification in the sample above with either one of:
57chevy <accessed>
7seg <accessed>
a <accessed>
ds9 <accessed>
goldodo <accessed>
odb <accessed>
odw <accessed>
silver <accessed>