Português
<!-- http://www.downcodes.com/js --> <!--Para obter esse efeito, são necessárias duas etapas. Etapa 1: Adicione o seguinte código à área <head> --> Verifique o. status O efeito da barra! <SCRIPT LANGUAGE="JavaScript"> <!-- var flasher = false // calcula a hora atual, determina o estado do pisca-pisca, // e insere a hora na barra de status a cada segundo function updateTime() { var now = new Date() var theHour = now.getHours() var theMin = now.getMinutes() var theTime = "" + ((theHour > 12) ? theHour - 12 : theHour) theTime += ((theMin < 10) ? ": 0" : ":") + theMin theTime += ((pisca-pisca) ? " " : " =") theTime += (aHora >= 12) ? " PM" : " AM" pisca-pisca = !pisca janela.status = theTime // chama esta função recursivamente a cada segundo para manter o cronômetro funcionando timerID = setTimeout("updateTime()",1000) } //--> </SCRIPT> <!--Step 2: Put "onLoad="updateTime( ) "" é adicionado à tag <body> Por exemplo: --> <body onLoad="updateTime()">.