Html Ambarı
|
Belirtilen Kod
Kod Bilgileri |
<!-- TWO STEPS TO INSTALL DHTML STOPWATCH:
1. Copy the coding into the HEAD of your HTML document 2. Add the last code into the BODY of your HTML document --> <!-- STEP ONE: Paste this code into the HEAD of your HTML document --> <HEAD> <!-- This script and many more are available free online at --> <!-- The JavaScript Source!! http://javascript.internet.com --> <!-- Original: John Livingston (wavwizard_wavmaster@yahoo.com) --> <!-- Web Site: http://wavsyntax.bravehost.com --> <style> span { cursor:pointer; color:white; background:black; } </style> <script type="text/javascript"> var msec=0 var sec=0 var min=0 function start() { document.forms[0].display.value=min+":"+sec+":"+msec go=setTimeout("start()",1) msec++ if(msec==100) { msec=0 sec++ } if(sec==60) { sec=0 min++ } } function stop() { clearTimeout(go) } function reset() { window.location.reload() } function over1(test) {document.getElementById(''over1'').style.background=test} function out1(test) {document.getElementById(''over1'').style.background=test} function over2(test) {document.getElementById(''over2'').style.background=test} function out2(test) {document.getElementById(''over2'').style.background=test} function over3(test) {document.getElementById(''over3'').style.background=test} function out3(test) {document.getElementById(''over3'').style.background=test} </script> </HEAD> <!-- STEP TWO: Copy this code into the BODY of your HTML document --> <BODY> <!-- This script and many more are available free online at --> <!-- The JavaScript Source!! http://javascript.internet.com --> <!-- Original: John Livingston (wavwizard_wavmaster@yahoo.com) --> <!-- Web Site: http://wavsyntax.bravehost.com --> <span id="over1" onmouseover="over1(''red'')" onmouseout="out1(''black'')" onclick="start()">Start</span> <span id="over2" onmouseover="over2(''red'')" onmouseout="out2(''black'')" onclick="stop()">Stop</span> <span id="over3" onmouseover="over3(''red'')" onmouseout="out3(''black'')" onclick="reset()">Reset</span> <form> <input type="text" name="display"size="22"value="00:00:00"> </form> <p><center> <font face="arial, helvetica" size"-2">Free JavaScripts provided<br> by <a href="http://javascriptsource.com">The JavaScript Source</a></font> </center><p> <!-- Script Size: 2.29 KB -->
|
Bugün 8 ziyaretçi (11 klik) kişi burdaydı!
dakika saniye misafirim oldunuz Bu web sitesi ücretsiz olarak Bedava-Sitem.com ile oluşturulmuştur. Siz de kendi web sitenizi kurmak ister misiniz? Ücretsiz kaydol
|