02-20-2014, 08:25 AM 
	
	Kod:  
<html> 
<head> 
<meta name="author" content="yilmaz"><!--bu metayi --> 
<meta http-equiv="Content-Type" content="text/html; charset=windows-1254"><!--ve bu metayi  <head></head> arasina eklerseniz türkce karekter sorunu olmaz--> 
<meta http-equiv="content-language" content="tr"> 
<title>Buraya ne yazarsan yukarda en üstte o görünür</title> 
</head> 
<body text="#000000" bgcolor="#FFFFFF" link="#FF0000" alink="#FF0000" vlink="#FF0000">
<script language="JavaScript"><!-- 
// please keep these lines on when you copy the source 
// made by: Nicolas - http://www.delikan.de var 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="Başlat" onclick="Start()"> 
      </td>      <td> 
         <input type=button name="stop" value="Durdur" onclick="Stop()"> 
      </td>      <td> 
         <input type=button name="reset" value="Sıfırlat" onclick="Reset()"> 
      </td>   </tr></table></form></center> 
</body> 
</html> 

 
 

 
 
			
