<script>
//Time of day message script- by javascriptkit.com
//Visit JavaScript Kit (http://javascriptkit.com) for script
//curseurs-gogo.com
var Digital=new Date()
var hours=Digital.getHours()
//Configure message below to your own.
if (hours>=5&&hours<=11) //MESSAGE FOR MORNING
document.write('
Welcome to our site. Good morning visitor.')
else if (hours==12) //MESSAGE FOR NOON
document.write('
Bonjour, alors comment allez-vous ce matin ?')
else if (hours>=13&&hours<=17) //MESSAGE FOR AFTERNOON
document.write('
Bon après-midi et merci de votre visite.')
else if (hours>=18&&hours<=20) //MESSAGE FOR EVENING (6pm-8pm)
document.write('
Bonsoir, je vous souhaite une bonne soirée en notre compagnie')
else if (hours>=21&&hours<=11) //MESSAGE FOR NIGHT (9pm-11pm)
document.write('
Glad to see you this time of the night.')
else //MESSAGE FOR LATE NIGHT, EARLY MORNING (12pm-4am)
document.write('
Soit vous êtes un couchez tard, soit vous êtes lève tôt, alors bonjour ou bonne nuit')
</script>
Ce message provient de url de votre site