|
function greeting() { var today = new Date(); var hrs = today.getHours(); if (hrs < 12) document.write("Buon Giorno"); else if (hrs < 18) document.write("Buon Pomeriggio"); else if (hrs >= 18) document.write("Buona Sera"); else document.write("Buona Sera"); document.writeln("! "); dayStr = today.toLocaleString(); document.write(dayStr); } greeting(); Your browser doesn't support java1.1 or java is not enabled! by Mirabella&Meteo Aggiungi il forum ai preferiti |
Get the Flash Player to see the wordTube Media Player.