Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Some rollover images will not load in Mozilla but will load in IE and chrome. My Website http://www.totallyamaha.com/. This worked fine before Version 20.0.1

more options

My sites main page http://www.totallyamaha.com/ always worked fine in Mozilla for many years. We have not changed anything. Since the last update or possibly last few updates the rollovers in the main frame will not load the rollover image. I have tried clearing temp files and cookies, tried it on other computer and still wont work. All images and functions work perfect in IE and Chrome. Can someone tell me what the problem is??

My sites main page http://www.totallyamaha.com/ always worked fine in Mozilla for many years. We have not changed anything. Since the last update or possibly last few updates the rollovers in the main frame will not load the rollover image. I have tried clearing temp files and cookies, tried it on other computer and still wont work. All images and functions work perfect in IE and Chrome. Can someone tell me what the problem is??

Chosen solution

First, I apologize for the wrong diagnosis. Firefox 20's quirks mode is still "working" for the most part, but it does not let you get the value of lowsrc this way:

onmouseover="img034f00550043.src=img034f00550043_1low.lowsrc"

To work around that, you need to use getAttribute('lowsrc') but I haven't found a way to make the switch other than doing a global replace in an editor.

Find this: .lowsrc
Replace with: .getAttribute('lowsrc')

Note that the leading period is important in this process, since you don't want to replace lowsrc where it is preceded by a space, only a period.

Read this answer in context 👍 1

All Replies (10)

more options

I can confirm that it did/does work in Firefox 19 and stopped working in Firefox 20 and later, but I don't know which change caused this.
The image source gets an undefined value.

A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum.

The helpers at that forum are more knowledgeable about web development issues.
You need to register at the MozillaZine forum site in order to post at that forum.

more options

I tried to register there before here and I have never received a activation email.

more options

Try to post about the activation in the MozillaZine Site Discussion forum:

more options

How do you contact mozillazine.org to see if they can activate my account??

more options

The page worked for this long? This script is referring to elements by their name as though they were globally defined script objects.

onmouseover="img034f00550043.src=img034f00550043_1low.lowsrc"

<img name="img034f00550043_1low" src="../05mainimages/space.gif" lowsrc="../05mainimages/PhotoDraw89_1.jpg" height="1" width="1">

That is not possible in standards mode, but may have been retained in "quirks" mode over the years. As the name implies, this mode is quirky and its backwards compatibility features may break or disappear.

You may have to upgrade your rollover script. Or someone might have created a function that restores the old behavior by finding all the names and creating objects for them so that you only need to insert that function and not change other things. (I haven't searched for that.)

more options

Why does it work on Chrome and IE?? If someone could tell me how to change that script to function as you suggested I could give that a try.

more options

Hi!

I'm sorry that you are having difficulties with Firefox and your site;

I'm not sure if I understand the problem properly, are you referring to the box in the middle of the screenshot that I'm attaching?

If that's the case, that's because Java is being blocked. I would recommend implementing that piece in a different way. Java is not safe for the users.

Best, Ibai

more options

No I know what the problem is for that. If you move your mouse over the ATV, Watercraft or any of the 4 images around the snowmobile you will see the rollover images is missing or broken. It only does this in Mozilla.

more options

Chosen Solution

First, I apologize for the wrong diagnosis. Firefox 20's quirks mode is still "working" for the most part, but it does not let you get the value of lowsrc this way:

onmouseover="img034f00550043.src=img034f00550043_1low.lowsrc"

To work around that, you need to use getAttribute('lowsrc') but I haven't found a way to make the switch other than doing a global replace in an editor.

Find this: .lowsrc
Replace with: .getAttribute('lowsrc')

Note that the leading period is important in this process, since you don't want to replace lowsrc where it is preceded by a space, only a period.

more options

That was it... fricken awesome!!! Thank you so much for the help on this. I was dumb founded and had no idea what to change. :)