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".

Learn More

Image map hyperlinks not working

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

more options

We have launched a new responsive version of our website: www.thevintagewall.com. The main page has an image slider with clickable image map hyperlinks (unconventional, I know). The image maps work perfectly on all Mac desktop browsers (eg. Safari, Chrome), except for Firefox. We are using v. 59.0.1. When hovering over the image map areas, the pointer turns to a finger, so the browser is acknowledging the links, but just won't click on them (FYI - right click with mouse, then selecting 'Open link in new tab' will work). Does anyone know of a workaround or any coding specific to Firefox that will make these image maps work?

We have launched a new responsive version of our website: www.thevintagewall.com. The main page has an image slider with clickable image map hyperlinks (unconventional, I know). The image maps work perfectly on all Mac desktop browsers (eg. Safari, Chrome), except for Firefox. We are using v. 59.0.1. When hovering over the image map areas, the pointer turns to a finger, so the browser is acknowledging the links, but just won't click on them (FYI - right click with mouse, then selecting 'Open link in new tab' will work). Does anyone know of a workaround or any coding specific to Firefox that will make these image maps work?

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

The links work if I disable JavaScript on the page to prevent the slider from overlapping the images (they just appear one after the next). So the issue seems to be related to stacking everything up in the slider. Since right-click > Open Link in... works, it isn't the common problem of a transparent overlay blocking the links. Which leaves the mystery of what is going wrong here...

I notice your bxslider script was updated in April with this message among the change log: "Fix for Firefox59 and PointerEvent standard compatibility". There also have been two subsequent update releases:

https://github.com/stevenwanderski/bxslider-4/releases

Hopefully that will fix it.

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

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

more options

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

The links work if I disable JavaScript on the page to prevent the slider from overlapping the images (they just appear one after the next). So the issue seems to be related to stacking everything up in the slider. Since right-click > Open Link in... works, it isn't the common problem of a transparent overlay blocking the links. Which leaves the mystery of what is going wrong here...

I notice your bxslider script was updated in April with this message among the change log: "Fix for Firefox59 and PointerEvent standard compatibility". There also have been two subsequent update releases:

https://github.com/stevenwanderski/bxslider-4/releases

Hopefully that will fix it.

more options

Thank you - We really appreciate your speedy response! (Buy you a beer?) Will give those recent fixes a look over.

more options
more options
Pkshadow, Thank you - Your guidance here was very much appreciated. Ironically, some of the obselete coding (like <center> and some of the bits) were taken from present-day online tutorials. Goes to show that even the most prolific coders aren't always on top of the trends! (We probably should refer back to the W3Schools more often) Lesson learned!
</center>
more options

jscher2000 - Thanks again. As per your suggestion, we looked into the more recent updates/fixes for the bxslider script and CSS. We still had plenty of issues to follow - such as the prev/next buttons no longer appearing - but after a lot of experimentation, we found the below page to have the best working version for us:

https://github.com/stevenwanderski/bxslider-4/compare/v4.2.15...master

link text

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