Top / 簡易アクセスカウンター
簡易アクセスカウンター
説明
行中で &counter を記述するとそのページにアクセスした人の数を表示することができます。 &counter には次のオプションを指定できます。オプションを省略した場合はtotalが指定されたものとみなされます。
- today
今日のアクセス数を表示します。 - yesterday
昨日のアクセス数を表示します。 - total
アクセス総数を表示します。- カウンタ表示は、他のインライン要素の子要素になることができます。
- カウンタ表示は、他のインライン要素を子要素にはできません。
記述
&counter([total|today|yesterday]);
表示例①
&color(gray){&size(12){a:&counter(total); t:&counter(today); y:&counter(yesterday);};};
a:2265 t:2 y:1
表示例②
&counter;
2265
&counter(オプション);
&counter([total|today|yesterday]);
表示例③
---&counter(today); ---&counter(yesterday); ---&counter(total);
- 2
- 1
- 2265
表示例④
&counter(today);&counter(yesterday);&counter(total);
212265
表示例⑤
|&counter(today);|&counter(yesterday);|&counter(total);|
2 | 1 | 2265 |
表示例⑥
---- &color(gray){&size(12){total &counter(total); today &counter(today); yesterday &counter(yesterday);};}; ----
total 2265 today 2 yesterday 1
カスタマイズして現在、使用しているアクセスカウンター
RIGHT:&color(gray){&size(10){total &counter(total); today &counter(today); yesterday &counter(yesterday);};};
total 2265 today 2 yesterday 1