Dynadot โ€” .com Transfer

Mouse Over Hell!! Need Advice

Spacemail by SpaceshipSpacemail by Spaceship
Watch

food_consult

Established Member
Impact
5
Okay here is the script I downloaded to add sound to my site. It works but it does not do what I want it to do. I want my mouse over images to make a sound on "mouse over" , and this script put a play button on my page and the play button has the mouse over effect. Please help!!!


This is the script


<Script>
function MM_controlSound(x, _sndObj, sndFile) {
var i, method = "", sndObj = eval(_sndObj);
if (sndObj != null) {
if (navigator.appName == 'Netscape') method = "play";
else {
if (window.MM_WMP == null) {
window.MM_WMP = false;
for(i in sndObj) if (i == "ActiveMovie") {
window.MM_WMP = true; break;
} }
if (window.MM_WMP) method = "play";
else if (sndObj.FileName) method = "run";
} }
if (method) eval(_sndObj+"."+method+"()");
else window.location = sndFile;
}
</Script>



<embed name='MM_playSound' src='barcelona_files/hover.wav' loop=false autostart=false mastersound='mastersound' hidden=true volume=100 width=0 height=0></embed>

<a href="#" onmouseover="MM_controlSound('play', 'document.MM_playSound', 'barcelona_files/.wav');">play</a>



This is the result
http://www.geocities.com/tapas_lounge/index3
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
.US domains.US domains
Hey, I'm not quite sure what the problem is, but right here:

<a href="#" onmouseover="MM_controlSound('play', 'document.MM_playSound', 'barcelona_files/.wav');">play</a>


It looks your calling up a file named .wav .... does this file even exist or maybe the script was designed to work that way?

Maybe you need to change that to hover.wav?

Can you show us where you downloaded the script?? :D It may make it easier to dertermine what the problem is.
 
0
•••
changes

I will make the changes and see what happens.

Well I did a search on mouse overs and yahoo directed me to a page with loads of php, and java codes ready to use. I am now begining to use Dreamweaver and that is where everything get a little confusing!!!

Well back to work
 
0
•••
GOT it to work!!!

http://www.barcelona.iwebland.com/
 
0
•••
Dynadot โ€” .com TransferDynadot โ€” .com Transfer
Appraise.net
Spaceship
Domain Recover
CatchDoms
DomainEasy โ€” Zero Commission
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back