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:2037 t:1 y:0
表示例②
&counter;
2037
&counter(オプション);
&counter([total|today|yesterday]);
表示例③
---&counter(today); ---&counter(yesterday); ---&counter(total);
- 1
- 0
- 2037
表示例④
&counter(today);&counter(yesterday);&counter(total);
102037
表示例⑤
|&counter(today);|&counter(yesterday);|&counter(total);|
1 | 0 | 2037 |
表示例⑥
---- &color(gray){&size(12){total &counter(total); today &counter(today); yesterday &counter(yesterday);};}; ----
total 2037 today 1 yesterday 0
カスタマイズして現在、使用しているアクセスカウンター
RIGHT:&color(gray){&size(10){total &counter(total); today &counter(today); yesterday &counter(yesterday);};};
total 2037 today 1 yesterday 0