Reply
Problems with rollover sounds
Old 03-29-2005, 10:26 PM Problems with rollover sounds
Junior Talker

Posts: 1
I can't figure this out!
On my website I have sounds set to play when ur mouse rolls over a button, I did everything correctly in Dreamweaver, and when I view it...it works fine and does what it's supposed to.
But when some of my friends view it on their computer, they roll their mouse over the buttons and instead of just playing the sound, it pops up their media player to play it, and they can't even click on it... PLEASE HELP! My page is
www.amy-grace.com/pregnancy/Home.htm ...if you need to take a look. It works on some computers I don't get what the problem is?!
cherrycola51 is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 03-31-2005, 03:40 PM
pappasaa's Avatar
Extreme Talker

Posts: 231
What browser are you using on your computer? (ie. Netscape. Firefox) I am using ie 6 to view your website and when I mouse over it downloads the file.

Also, from the looks of this function it seems to be setup for Netscape users only and other browsers like ie will download the file to play it. You might want to find a more compatible effect for your website or see if dreamweaver has any settings for this function that are cross browser compatible


Code:
function MM_controlSound(x, _sndObj, sndFile) { //v3.0
  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;


BTW congrat on the baby
__________________
Sheep go to heaven....Goats go to hell...
PoliticalJib.com | ArrogantRant.com | BigInfo.org | MyNewsPlus.com |<- Bloggers Wanted
pappasaa is offline
Reply With Quote
View Public Profile Visit pappasaa's homepage!
 
Reply     « Reply to Problems with rollover sounds
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.10955 seconds with 12 queries