Français
<!-- http://js.downcodes.com/ --> <!-- http://bbs.downcodes.com/--> 将下面代码加入到你网页的<head></head>中..... <style type="text/css"> <!-- .time{font-family : Comic Sans Ms; taille de la police : 14 pt;poids de la police : gras;couleur : #00008D;}--> </style><style type="text/css"><!-- .time{ famille de polices : Comic Sans Ms; taille de police : 14pt ; font-weight : bold;color: #00008D;}--> </style> <script Language="JavaScript"> <!-- Masquage de var ctimer; function init(){ if (document.all){ tim2.style.left=tim1.style.posLeft; tim2.style.top=tim1.style.posTop+tim1.offsetHeight-6; settimes(); } } function settimes(){ var time= new Date(); heures= time.getHours(); minutes= time.getMinutes(); secs= time.getSeconds(); si (heures<10) heures="0"+heures ; if(mins<10) mins="0"+mins; si (secs<10) secs="0"+secs ; tim1.innerHTML=hours+":"+mins+":"+secs tim2.innerHTML=hours+":"+mins+":"+secs ctimer=setTimeout('settimes()',960); } // --></script> 将你网页中<body>改为<body onLoad="init()"> 将下面这部分代码加入到<body></body>中... <div Id ="tim1" Style="position:absolute; largeur:10; hauteur:10; haut:10; gauche:50" class="time"></div><div Id="tim2" Style="position:absolute ; filter:flipv() alpha(opacity=20); font-style:italic" class="time"> <p> </p> </div> .... <script Language="JavaScript"> <!-- Masquage de var ctimer; function init(){ if (document.all){ tim2.style.left=tim1.style.posLeft; tim2.style.top=tim1.style.posTop+tim1.offsetHeight-6; settimes(); } } function settimes(){ var time= new Date(); heures= time.getHours(); minutes= time.getMinutes(); secs= time.getSeconds(); si (heures<10) heures="0"+heures ; if(mins<10) mins="0"+mins; si (secs<10) secs="0"+secs ; tim1.innerHTML=hours+":"+mins+":"+secs tim2.innerHTML=hours+":"+mins+":"+secs ctimer=setTimeout('settimes()',960); } </script>