HİT-CENTER

TopList

Linke Kaç kez Tıklanmış göster

Kod : 



<script type="text/javascript">
/* This script and many more are available free online at
The JavaScript Source!! http://javascript.internet.com
Created by: Mr J | http://www.huntingground.net */
Count=0
timer=""

function Set_Count() {
clearTimeout(timer)
Count++
timer=setTimeout("Check_Count()",300)
}

function Check_Count() {
if(Count==1) {
click1()
}
if(Count==2) {
click2()
}
if(Count==3) {
click3()
}
Count=0
}

function click1() {
alert("That was a single click")
}

function click2() {
alert("That was a double click")
}

function click3() {
alert("That was a triple click")
}
</script>


<a href="#null" onmouseup="Set_Count()">Example Link</a>