This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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

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

  • 2 cavab
  • 40 have this problem
  • 1 view
  • Last reply by 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 ?

Chosen solution

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

Read this answer in context 👍 23

All Replies (2)

more options

Seçilmiş Həll

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

Modified by mattlem

more options

Thanks of lot, it works !