Αναζήτηση στην υποστήριξη

Προσοχή στις απάτες! Δεν θα σας ζητήσουμε ποτέ να καλέσετε ή να στείλετε μήνυμα σε κάποιον αριθμό τηλεφώνου ή να μοιραστείτε προσωπικά δεδομένα. Αναφέρετε τυχόν ύποπτη δραστηριότητα μέσω της επιλογής «Αναφορά κατάχρησης».

Μάθετε περισσότερα

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

  • 2 απαντήσεις
  • 40 έχουν αυτό το πρόβλημα
  • 1 προβολή
  • Τελευταία απάντηση από 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 ?

Επιλεγμένη λύση

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

Ανάγνωση απάντησης σε πλαίσιο 👍 23

Όλες οι απαντήσεις (2)

more options

Επιλεγμένη λύση

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

Τροποποιήθηκε στις από το χρήστη mattlem

more options

Thanks of lot, it works !