Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website Design Forum


You are currently viewing our Website Design Forum as a guest. Please register to participate.
Login



Freelance Jobs

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

Posts: 1
Trades: 0
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
 
 
Register now for full access!
Old 03-31-2005, 02:40 PM
pappasaa's Avatar
Ultra Talker

Posts: 268
Trades: 0
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
__________________
visit my link...um...nevermind
pappasaa is offline
Reply With Quote
View Public Profile Visit pappasaa's homepage!
 
Reply     « Reply to Problems with rollover sounds
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB 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.09948 seconds with 12 queries