Olá,
Por favor, alguém sabe como fazer um relógio que fique desse estilo aqui:
Boa Tarde, Agora são 14:31 do dia 17 de Novembro de 2002
Aguardo resposta
Muito obrigado, valeu
Relógio....
Started By
offspring
, 24/11/2002, 21:17
3 replies to this topic
#1 offspring
Posted 24/11/2002, 21:17
#2 Visitante_Adilson
Posted 24/11/2002, 22:16
que tal este código:
<script language="JavaScript">
<!--
var d = new Date()
var h = d.getHours()
if (h < 12)
document.write("Bom Dia ! Bem Vindo ! ")
else
if (h < 18)
document.write("Boa Tarde ! Bem Vindo ! ")
else
document.write("Boa Noite ! Bem Vindo ! ")
// -->
</script>
<FONT face=arial size="2" color="#000080">
SC,Brasil,
<script language="JavaScript">
<!-- Hiding
hoje = new Date()
document.write(" ",hoje.getHours(),":",hoje.getMinutes(),"h ")
document.write(
" do dia ",hoje.getDate(),"/",hoje.getMonth()+1,"/",hoje.getYear());
// end hiding contents -->
</script>
<script language="JavaScript">
<!--
var d = new Date()
var h = d.getHours()
if (h < 12)
document.write("Bom Dia ! Bem Vindo ! ")
else
if (h < 18)
document.write("Boa Tarde ! Bem Vindo ! ")
else
document.write("Boa Noite ! Bem Vindo ! ")
// -->
</script>
<FONT face=arial size="2" color="#000080">
SC,Brasil,
<script language="JavaScript">
<!-- Hiding
hoje = new Date()
document.write(" ",hoje.getHours(),":",hoje.getMinutes(),"h ")
document.write(
" do dia ",hoje.getDate(),"/",hoje.getMonth()+1,"/",hoje.getYear());
// end hiding contents -->
</script>
#3 offspring
Posted 24/11/2002, 23:08
muito obrigado ae adilson, ja coloquei em meu site, obrigado mesmo
#4
Posted 24/11/2002, 23:16
Estamos aí pra isso !
Fritsche
0 user(s) are reading this topic
0 membro(s), 0 visitante(s) e 0 membros anônimo(s)