Ovo će web mjesto raditi na ograničen način, dok obavljamo održavanje stranice. Ako neki članak ne riješi tvoj problem i ako želiš postaviti pitanje, naša zajednica za podršku spremna je pomoći na Twitteru @FirefoxSupport i na Redditu /r/firefox.

Pretraži podršku

Izbjegni prevare podrške. Nikad te nećemo tražiti da nas nazoveš, da nam pošalješ telefonski broj ili da podijeliš osobne podatke. Prijavi sumnjive radnje pomoću opcije „Prijavi zlouporabu”.

Saznaj više

Html marquee : stop() and start() work on firefox 26 but not on 27

  • 2 odgovora
  • 40 ima ovaj problem
  • 1 prikaz
  • Posljednji odgovor od willmath

more options

this html/javascript line works on firefox 26 but not on firefox 27

<marquee onMouseOver='this.stop();' OnMouseOut='this.start();'>Hello</marquee>

Why ?

this html/javascript line works on firefox 26 but not on firefox 27 <marquee onMouseOver='this.stop();' OnMouseOut='this.start();'>Hello</marquee> Why ?

Izabrano rješenje

Hello willmath,

Thanks for posting on the Mozilla Support forums. The code you posted didn't work in my version of Firefox 27 either.

Luckily I found a solution solution:

<marquee onMouseOver="this.setAttribute('scrollamount', 0, 0);" OnMouseOut="this.setAttribute('scrollamount', 6, 0);">Hello</marquee>

This works in Firefox 27.0.1 which is the version I tested it on.

It may be useful for you to read the following on the marquee element. As it is a non-standard element, support over each browser will vary and the solution I provided may not work on other browsers.

Mattlem

Pročitaj ovaj odgovor u kontekstu 👍 23

Svi odgovori (2)

more options

Odabrano rješenje

Hello willmath,

Thanks for posting on the Mozilla Support forums. The code you posted didn't work in my version of Firefox 27 either.

Luckily I found a solution solution:

<marquee onMouseOver="this.setAttribute('scrollamount', 0, 0);" OnMouseOut="this.setAttribute('scrollamount', 6, 0);">Hello</marquee>

This works in Firefox 27.0.1 which is the version I tested it on.

It may be useful for you to read the following on the marquee element. As it is a non-standard element, support over each browser will vary and the solution I provided may not work on other browsers.

Mattlem

Izmjenjeno od mattlem

more options

Thanks of lot, it works !