Prohledat stránky podpory

Vyhněte se podvodům. Za účelem poskytnutí podpory vás nikdy nežádáme, abyste zavolali nebo poslali SMS na nějaké telefonní číslo nebo abyste sdělili své osobní údaje. Jakékoliv podezřelé chování nám prosím nahlaste pomocí odkazu „Nahlásit zneužití“.

Zjistit více

Image map hyperlinks not working

  • 5 odpovědí
  • 1 má tento problém
  • 1 zobrazení
  • Poslední odpověď od 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?

Zvolené řešení

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.

Přečíst dotaz v kontextu 👍 1

Všechny odpovědi (5)

more options

Zvolené řešení

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

Upravil uživatel vintage74 dne