Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

Marquee tag in html don't work correctly on Windows 11

  • 4 trả lời
  • 0 gặp vấn đề này
  • 1 lượt xem
  • Trả lời mới nhất được viết bởi fanchlrr

more options

Hello, With Windows 11, the Marquee Tag don't work correctly with Firefox . Nevertheless the tag work in MsEdge or Chrome .

Remark: Under Windows 10, Firefox run Marquee Tag correctly . The version is the same .

Try with Url https://developer.mozilla.org/en-US/docs/Web/API/HTMLMarqueeElement

Hello, With Windows 11, the Marquee Tag don't work correctly with Firefox . Nevertheless the tag work in MsEdge or Chrome . Remark: Under Windows 10, Firefox run Marquee Tag correctly . The version is the same . Try with Url https://developer.mozilla.org/en-US/docs/Web/API/HTMLMarqueeElement
Đính kèm ảnh chụp màn hình

Giải pháp được chọn

I have set ui.prefersReducedMotion = 1 and had to set that pref to 0 to make the marquee work, but then there are no problems with stopping after a cycle.

Đọc câu trả lời này trong ngữ cảnh 👍 0

Tất cả các câu trả lời (4)

more options

On your Windows 11 system the text remains static instead of moving?

I wonder whether there is a system setting (perhaps related to animations?) that could be coming into play.

more options

Hi jscher2000, Thanks for your reply.

The text(s) are not static(s) when launching the file . They become static when their cycle is reached instead to continue ...

In the sample,

  • the first line must scroll from right to left, disappear and reappear on the right to restart the cycle.
  • the second line must scroll by alternance from left to rigth and conversely .

You can test with this link : Example to launch

more options

Giải pháp được chọn

I have set ui.prefersReducedMotion = 1 and had to set that pref to 0 to make the marquee work, but then there are no problems with stopping after a cycle.

more options

Hi cor-el, Thanks for your remark .

Following your post, I have put this css line into my file : @media (prefers-reduced-motion: no-preference){}

The Marquee work perfectly now ???

Later i have pulled this line and the marquee work always, I don't understand ...

I can't no more reproduce the problem. So i close this post .

Được chỉnh sửa bởi fanchlrr vào