VHost Support

Trigger Speech on Mouse Over

Trigger Speech on Mouse Over





To prompt the Avatar to speak when the visitor rolls over an image or link, use the JavaScript "onMouseOver" function...

<img src="button.JPG" onmouseover="javascript:sayText('That button makes me say something!',1,1,3);"></img>

Please note that Internet Explorer is highly recommended when using this function. It can be rather unpredictable when using Netscape or Firefox, for example.


View the source of this page to see how we have used the JavaScript "onMouseOver" function to call the API sayText function.





Back to Previous Page      

© Oddcast Inc. All rights reserved.   |   Terms of Use   |   Terms of Service   |   Privacy Policy