Access counterAn access counter is realised using either plain RXML or in conjunction with a few JavaScript statements.Numeric counterFor 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
Graphic counterFor 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 Fontvariations can experimented with by substituting the digiface font specification in the sample above with either one of:
|