image map not working on iOS devices, with large images that get rescaled by the device

后端 未结 11 863
一个人的身影
一个人的身影 2021-01-11 09:44

I\'m developing an internal web app on our company intranet using PHP. One section of the app displays a couple of high resolution images to the user. These images are in th

11条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-11 10:22

    Why don't you use Responsive Image Maps instead. This way you can still use poly maps for oddly shaped items.

    http://mattstow.com/experiment/responsive-image-maps/rwd-image-maps.html

    It's as easy as adding the script. And one line of javascript:

    $('img[usemap]').rwdImageMaps();
    

提交回复
热议问题