Page to say Good day, Good afternoon, Good night…

    Partagez

    everybody
    Admin

    Number of posts : 335
    Age : 49
    Registration date : 12/04/2008

    default Page to say Good day, Good afternoon, Good night…

    Message  everybody le Jeu Avr 16, 2009 12:00 am


    portugal - Pagina a dizer Bom dia, Boa tarde, Boa noite...
    france - Page à dire Bon jour, Bonne nuit…
    england - Page to say Good day, Good afternoon, Good night…



    Exemplo




    Code:
    <script LANGUAGE="JavaScript">
    <!-- Original: Robert Ison -->

    <!-- Begin
    datetoday = new Date();
    timenow=datetoday.getTime();
    datetoday.setTime(timenow);
    thehour = datetoday.getHours();
    if (thehour > 18) display = "Boa noite";
    else if (thehour >12) display = "Boa tarde";
    else display = "Bom dia";
    var greeting = (display + "!");
    document.write(greeting);
    // End -->
    </script>

      Sujets similaires

      -

      La date/heure actuelle est Sam Déc 10, 2016 9:53 am