I am building a site using HTML5/jQuery
Part of the site I am using this Plugin jQuery RWD Image Maps
https://github.com/stowball/jQuery-rwdImageMaps
It creates responsive Image Maps that allows image maps to be used in a responsive design by recalculating the area coordinates to match the actual image size on load and window.resize.
Example
http://mattstow.com/experiment/responsive-image-maps/rwd-image-maps.html
It works exactly how I need it to. The only problem is it makes the text and image sit to the left and the rest of my site is centred.
If I fix the problem and centre the text/image. All is good until I try and resize the page whereupon all the maps become out of line with the image.
Any pointers appreciated.
Part of the site I am using this Plugin jQuery RWD Image Maps
https://github.com/stowball/jQuery-rwdImageMaps
It creates responsive Image Maps that allows image maps to be used in a responsive design by recalculating the area coordinates to match the actual image size on load and window.resize.
Example
http://mattstow.com/experiment/responsive-image-maps/rwd-image-maps.html
It works exactly how I need it to. The only problem is it makes the text and image sit to the left and the rest of my site is centred.
If I fix the problem and centre the text/image. All is good until I try and resize the page whereupon all the maps become out of line with the image.
Any pointers appreciated.