搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Image map hyperlinks not working

  • 5 回覆
  • 1 有這個問題
  • 163 次檢視
  • 最近回覆由 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?

被選擇的解決方法

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.

從原來的回覆中察看解決方案 👍 1

所有回覆 (5)

more options

選擇的解決方法

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

由 vintage74 於 修改