Leo : Examples The Evisa Site

Let's take a look at the speak.htm template. This is the file that will display the page where the user can click to hear a word spoken. The words.cgi program simply fills words into this template. The template contains all of the code for making the page speak in the browser.

The way it does this, is to embed an ActiveX object for a Microsoft Agent, and then call that ActiveX object with Javascript. Here the code for embedding the ActiveX objects is shown. Since these same objects are embedded in the same page for each language, this is a clone node. All of the other templates that use this code simply share this node.

27 of 28
Text Author: Joe Orr Copyright 2002 All Rights Reserved
Created with ScreenBook Maker Last update: 8/3/2002 Additional Trademark and Copyright Information