Hummell
03-02-2008, 04:52 PM
Hey guys. I have a graph dashboard that displays all of our company's performance measures. When a user mouses over a graph, a mouseover image pops up that displays commentary about the measure. That's great and it works perfectly.
What I want to do is create a sound effect so that when a user mouses over a graph, they not only see the image replaced with the commentary, but also hear the sound.
Here is a snippet of the code I have for one graph in the table (there are over 16 graphs)...can anyone help with where to put the sound effect code (linked below...I think that's what I need).
<tr>
<td style="height: 152px; width: 244px;" class="style23" valign="top">
<a target="_self" onmouseover="imgOn('img1')" onmouseout="imgOff('img1')" href="http://company1.sharepoint.com/default.aspx?action=metricExplorer&layout=full&LOB=GTCH&Category=1&MetricID=6568">
<img id="webImgShrinked14" alt="Picture" src="http://company1.sharepoint.com/sites/performance/performance2/Shared%20Documents/Dashboard%20Images/2008%20Dashboard%20Images/chart001.gif" border="0" galleryimg="false" name="img1" align="top" /></a><br />
</td>
Here is what I think I need to be looking at:
http://www.dynamicdrive.com/dynamicindex11/javascriptsound.htm
What I want to do is create a sound effect so that when a user mouses over a graph, they not only see the image replaced with the commentary, but also hear the sound.
Here is a snippet of the code I have for one graph in the table (there are over 16 graphs)...can anyone help with where to put the sound effect code (linked below...I think that's what I need).
<tr>
<td style="height: 152px; width: 244px;" class="style23" valign="top">
<a target="_self" onmouseover="imgOn('img1')" onmouseout="imgOff('img1')" href="http://company1.sharepoint.com/default.aspx?action=metricExplorer&layout=full&LOB=GTCH&Category=1&MetricID=6568">
<img id="webImgShrinked14" alt="Picture" src="http://company1.sharepoint.com/sites/performance/performance2/Shared%20Documents/Dashboard%20Images/2008%20Dashboard%20Images/chart001.gif" border="0" galleryimg="false" name="img1" align="top" /></a><br />
</td>
Here is what I think I need to be looking at:
http://www.dynamicdrive.com/dynamicindex11/javascriptsound.htm