Troutman
10-18-2000, 03:20 PM
Hello,
I am having a hard time getting the audio plug-in to 'hide' when Netscape is playing a .wav file on a mouseover. The 'EMBED' code does not seem to work. Thanks for any help you can provide! Troutman
[code below]
<script language="Javascript">
MouseOverImage = new Image();
MouseOutImage = new Image();
MouseOverImage.src = "image1.jpg";
MouseOutImage.src = "image2.jpg";
function myMouseOver()
{
document.location.href ='transporter.wav';
if(document.images) {document.myImage.src = MouseOverImage.src;}
}
function myMouseOut()
{
if(document.images) {document.myImage.src = MouseOutImage.src;}
}
</script>
<A HREF = " " onMouseOver = "myMouseOver()" onMouseOut = "myMouseOut()">
<img name = "myImage" src = "image2.jpg">
<EMBED SRC="transporter.wav" loop="false" autostart="false"
mastersound="mastersound" hidden="true" volume="100" WIDTH="0"
HEIGHT="0" ALIGN="BOTTOM"></EMBED>
</A>
I am having a hard time getting the audio plug-in to 'hide' when Netscape is playing a .wav file on a mouseover. The 'EMBED' code does not seem to work. Thanks for any help you can provide! Troutman
[code below]
<script language="Javascript">
MouseOverImage = new Image();
MouseOutImage = new Image();
MouseOverImage.src = "image1.jpg";
MouseOutImage.src = "image2.jpg";
function myMouseOver()
{
document.location.href ='transporter.wav';
if(document.images) {document.myImage.src = MouseOverImage.src;}
}
function myMouseOut()
{
if(document.images) {document.myImage.src = MouseOutImage.src;}
}
</script>
<A HREF = " " onMouseOver = "myMouseOver()" onMouseOut = "myMouseOut()">
<img name = "myImage" src = "image2.jpg">
<EMBED SRC="transporter.wav" loop="false" autostart="false"
mastersound="mastersound" hidden="true" volume="100" WIDTH="0"
HEIGHT="0" ALIGN="BOTTOM"></EMBED>
</A>