Would you like to react to this message? Create an account in a few clicks or log in to continue.


web
 
AnasayfaGaleriLatest imagesKayıt OlGiriş yap
Kronometre Ybanner Kronometre 2cznnm
 

 

 Kronometre

Aşağa gitmek 
YazarMesaj
xaxex34
Geliştirici
Geliştirici
xaxex34


Mesaj Sayısı Mesaj Sayısı : 323
Paylaşım Gücü Paylaşım Gücü : 880
Rep Point Rep Point : 3
Kayıt tarihi Kayıt tarihi : 07/08/10
Yaş Yaş : 28

Kronometre Empty
MesajKonu: Kronometre   Kronometre EmptyPerş. Ağus. 26, 2010 6:53 am

Kod:
<script language="JavaScript"><!--
            // please keep these lines on when you copy the source
            // made by: Nicolas - http://www.javascript-page.comvar timerID = 0;
            var tStart  = null;function UpdateTimer() {  if(timerID) {
            clearTimeout(timerID);      clockID  = 0;  }  if(!tStart)
            tStart  = new Date();  var  tDate = new Date();
            var  tDiff = tDate.getTime() - tStart.getTime();  tDate.setTime(tDiff);
            document.theTimer.theTime.value = ""
            + tDate.getMinutes() + ":"
            + tDate.getSeconds();
            timerID = setTimeout("UpdateTimer()", 1000);}function Start() {
            tStart  = new Date();  document.theTimer.theTime.value = "00:00";
            timerID  = setTimeout("UpdateTimer()", 1000);}function Stop() {
            if(timerID) {      clearTimeout(timerID);      timerID  = 0;  }
            tStart = null;}function Reset() {  tStart = null;
            document.theTimer.theTime.value = "00:00";}//--></script>
            <body onload="Reset()" onunload="Stop()"><center><form name="theTimer"><table>
            <tr>      <td colspan=3 align=center>
            <input type=text name="theTime" size=5>      </td>  </tr>
            <tr><td></td></tr>  <tr>      <td>
            <input type=button name="start" value="Start" onclick="Start()">
            </td>      <td>
            <input type=button name="stop" value="Stop" onclick="Stop()">
            </td>      <td>
            <input type=button name="reset" value="Reset" onclick="Reset()">
            </td>  </tr></table></form></center>
Sayfa başına dön Aşağa gitmek
http://sanalmenejer.tk
 
Kronometre
Sayfa başına dön 
1 sayfadaki 1 sayfası

Bu forumun müsaadesi var:Bu forumdaki mesajlara cevap veremezsiniz
 :: Online Destek Bölümü :: Javascript-
Buraya geçin: