Dynadot .com transfer sale, only $10.12 with coupon code DYNA12, available while supplies last, ends October 31, 2026.

Mouse Over Hell!! Need Advice

Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
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
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
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
Close
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
Close
GOT it to work!!!

http://www.barcelona.iwebland.com/
 
0
Close
DomainEasy: white label portfolios are live. Enable yours.

We're social

Escrow.com
Spaceship
CryptoExchange.com
Domain Recover

NamePros updates

Quick replies: search, your most used replies, and more on every post
Quick replies are easier to find and use now. The quick reply menu has a search box. Type a few letters to find the reply you want. A...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back