Tekil Mesaj gösterimi

Counter script
Alt 2. July 2007, 12:06   #1 (permalink)
BLOKED
Uye Olmayan
 
BLOKED - ait Kullanıcı Resmi (Avatar)
 
Uye No:
Mesajlar: n/a

Seviye: -INF [Seviye Durumu]
Aktiflik: NAN / -INF
Güç: -INF / -INF
Deneyim: NAN%

Counter script

Description: This is a fake- yet highly believable- JavaScript counter script. The script DOES actually increment the visitor count, though it does so based on a fixed algorithm involving the current date, not the actual number of visitors. The result is a counter that is always increasing, unlike most other JavaScript counters that simply generate a random number to display. Use it to add a fun, inflatable, and most importantly, believable counter display to your site!

Example: You are visitor # 8286358 to my site!

Note: Revisit this page a little later (ie: after 1 minute), and you'll notice the number has increased. This is the case for as long as time exists.

Directions: Simply cut and paste everything inside and paste it where you wish the counter to appear:
HTML-Kodu:
<script>

/*
Counter script
By JavaScript Kit (http://javascriptkit.com)
Over 400+ free scripts here!
Above notice MUST stay entact for use
*/

function fakecounter(){

//decrease/increase counter value (depending on perceived popularity of your site!)
var decrease_increase=-50000

var counterdate=new Date()
var currenthits=counterdate.getTime().toString()
currenthits=parseInt(currenthits.substring(2,currenthits.length-4))+decrease_increase

document.write("You are visitor # <b>"+currenthits+"</b> to my site!")
}
fakecounter()
</script>

<p align="center"><font face="arial" size="-2">This free script provided by</font><br><font face="arial, helvetica" size="-2"><a href="http://javascriptkit.com">JavaScript Kit</a></font></p>
  Alıntı ile Cevapla
Kullanıcısının bu mesajına tepki gösteren üyeler:
AntiGrevit@syon (29. November 2008)