Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

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

  • 10 réponses
  • 1 a ce problème
  • 5 vues
  • Dernière réponse par Tywebmaster

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??

Solution choisie

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.

Lire cette réponse dans son contexte 👍 1

Toutes les réponses (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

Solution choisie

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. :)