Time & Day Sensitive Greeting

Greet your visitors according to both time & day of the week.

Click the play button or call the compileGreeting() function to trigger the audio.

This example uses the SitePal API event handler vh_sceneLoaded() to call the function compileGreeting(). compileGreeting() puts the string together and uses sayText(string,voice,language,engine) to speak a greeting based on the time of day and day of the week.

Please view the source of this page to see how this is implemented.

© 2003 Oddcast Inc. All Right Reserved