前提・実現したいこと
jQuery RWD Image Maps を使用して、イメージマップのレスポンシブ化を行っていますが、以下のソースですとIE11でしか動作しません。
メジャーブラウザで動かしたいです。どこを確認するですとか、アドバイスをよろしくお願いいたします。
発生している問題・エラーメッセージ
Win8.1とiPhoneでテストしています。Chrome/FirefoxとiOSでは画面を拡大縮小してもリンクエリアが追従されませんが、IE11ですとリンクエリアが追従されます。
該当のソースコード
HTML、CSS
1<!DOCTYPE html> 2<html> 3<head> 4<meta name="viewport" content="width=device-width, target-densitydpi=160dpi, initial-scale=1" /> 5<style> 6 html, 7 body { 8 margin: 0; 9 padding: 0; 10 } 11 img { 12 width: 100%; 13 height: auto; 14 } 15</style> 16</head> 17<body> 18<div> 19<img src="https://example.com/maptest.jpg" width="727" height="250" usemap="#ImageMap" alt="" /> 20<map id="ImageMap" name="ImageMap"> 21 <area shape="rect" coords="185,13,331,55" href="https://example.com/" title="" alt="" /> 22 <area shape="rect" coords="14,84,336,237" href="https://example.com/" title="" alt="" /> 23 <area shape="rect" coords="366,25,474,100" href="https://example.com/" title="" alt="" /> 24 <area shape="rect" coords="491,120,713,235" href="https://example.com/" title="" alt="" /> 25</map> 26</div> 27<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> 28<script src="https://example.com/js/jquery.rwdImageMaps.min.js"></script> 29<script> 30$(document).ready(function(e) { 31 $('img[usemap]').rwdImageMaps(); 32}); 33</script> 34</body> 35</html>
ここにより詳細な情報を記載してください。

回答1件
あなたの回答
tips
プレビュー