본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

image map works in Chrome, but not FireFox or Edge

  • 4 답장
  • 1 이 문제를 만남
  • 2 보기
  • 최종 답변자: jrdiebel

more options

I have an image map that works fine with Chrome. However it fails in Firefox and Edge. It behaves as if the image is bigger, and therefore all mappings are incorrect. Why would different browsers look at the same image, and behave differently?

https://truthrightlydivided.ca/wp-content/uploads/2017/07/TwoRoadsLEB-responsive.html Hover should bring up any verse selected.

I have an image map that works fine with Chrome. However it fails in Firefox and Edge. It behaves as if the image is bigger, and therefore all mappings are incorrect. Why would different browsers look at the same image, and behave differently? https://truthrightlydivided.ca/wp-content/uploads/2017/07/TwoRoadsLEB-responsive.html Hover should bring up any verse selected.
첨부된 스크린샷

선택된 해결법

But it looks great on my Firefox. I'm testing in a private window -- private windows do not carry over any cached files or cookies from when I tested earlier (and closed that window). If you are testing in a regular window, please try doing a reload bypassing the cache: Ctrl+Shift+R or Shift+click the Reload button on the toolbar.

문맥에 따라 이 답변을 읽어주세요 👍 1

모든 댓글 (4)

more options

The natural size of your image is much wider than the browser window: 5722px × 2842px

When it is scaled to fit the browser window, Firefox is still using the assigned coordinates based on the natural image size, and that is why the linked areas no longer match up with the scaled image.

I think the rwdImageMaps jQuery plugin is supposed to work around this, but there is an error message if I resize the body area, so something is going wrong. You could try updating that script from the 2013 version to the 2016 version: https://github.com/stowball/jQuery-rwdImageMaps

more options

I replaced "rwdImageMaps jQuery plugin v1.5" with "rwdImageMaps jQuery plugin v1.6" Now all 3 browsers fail. All help much appreciated!

more options

선택된 해결법

But it looks great on my Firefox. I'm testing in a private window -- private windows do not carry over any cached files or cookies from when I tested earlier (and closed that window). If you are testing in a regular window, please try doing a reload bypassing the cache: Ctrl+Shift+R or Shift+click the Reload button on the toolbar.

more options

All 5 versions working in all 3 browsers. Many thanx, Much appreciated!