Trigger Speech on Rollover
Trigger Speech with the JavaScript onmouseover event
To prompt the SitePal to speak when the visitor rolls over an image or link, use the JavaScript "onMouseOver" event...
<img src="button.JPG" onmouseover="javascript:sayText('That button makes me say something!',3,1,3);"></img>
View the source of this page to see how we have used the JavaScript "onMouseOver" event to call the API sayText function.
|
|