|
|
| |||||||
![]() |
| | Seçenekler |
|
#1
| ||||
| | ||||
dhtml kronometre koduHTML-Kodu: <!-- 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 () --> <!-- 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 () --> <!-- 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 --> |
![]() |
| Seçenekler | |
| |
Benzer Konular | ||||
| Konu | Konu Açanlar | Forum | Cevaplar | Güncel Mesajlar |
| wml kodu Asp kullanır ve veritabanina baglanip wml kodu üretir. | W-S | Hazır program kodları | 0 | 15-03-2008 03:23 |
| Dhtml | MaNeX | Webmaster Sözlügü | 0 | 25-02-2008 12:39 |
| blogcu şablon kodu, hazır şablon, book şablonu, defter şeklinde şablon kodu | kadınca | Diğer blog scriptleri | 0 | 09-02-2008 02:38 |
| Dhtml | kadınca | Dhtml | 0 | 27-12-2007 05:52 |
| Kronometre Uygulaması | Celebrian | Visual Basic & Action script | 0 | 24-12-2007 12:12 |