برامج - أرشيف المقالات - الدروس - البرامج - أرشيف الدروس - أدوات المصمم - الطب البديل -
حدد الكود وإضغط مفتاحي Ctrl+C لنسخ الكود
<html dir="rtl"> <head> <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1256"> </head> <body> <p style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px" align="center"> </p> <p style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px" align="center"><b> <font color="#6699ff">الساعه الالكترونيه</font></b> <script language="JavaScript">var timerID=null var timerRunning=false function stopclock() {if(timerRunning) clearTimeout(timerID) timerRunning=false} function startclock() {stopclock() showtime()} function showtime() {var now=new Date() var hours=now.getHours() var minutes=now.getMinutes() var seconds=now.getSeconds() var timeValue=""+((hours>12)?hours-12:hours) timeValue+=((minutes<10)?":0":":")+minutes timeValue+=((seconds<10)?":0":":")+seconds timeValue+=(hours>=12)?"PM":"AM" document.clock.face.value=timeValue timerID=setTimeout("showtime()",1000) timerRunning=true}//--> </script> </p> <form name="clock" onsubmit="0"> <p><input readOnly size="11" value="9:54:47PM" name="face"></p> </form> <script language="JavaScript"><!-- startclock()//--> </script> </body> </html>
برامج .. برمجة baramij.info