Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sound on button click

Status
Not open for further replies.

PixelDiva

Programmer
Jul 1, 2003
22
US
How do I, or can I, apply a sound effect to a Hover button or hyperlink in FrontPage?
 
In the <HEAD:

<script language=Javascript>
function soundOne() {
document.all.sound1.src =
&quot;sounds/button.au&quot;}
</script>
<bgsound id=&quot;sound1&quot;>

And then in your hyperlink:
<a href=&quot;artists/&quot; OnMouseOver=&quot;soundOne()&quot;>Artists</a>

__________________________
Corey

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top