Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Odd behavior when resizing imagemaps with altImages #192

Closed
boxboy opened this issue Mar 21, 2014 · 3 comments
Closed

Odd behavior when resizing imagemaps with altImages #192

boxboy opened this issue Mar 21, 2014 · 3 comments

Comments

@boxboy
Copy link

boxboy commented Mar 21, 2014

You have a great plugin here and it works very well. I have run into an issue that I think is a bug. I used the code laid out in your demo for dynamically resizing the image map when the window is resized: http://jsfiddle.net/jamietre/jQG48/
I just modified one of the lines of code to:
$('img').mapster({
mapKey: 'state',
altImage: 'https://github.com/jamietre/ImageMapster/raw/master/examples/images/usa_map_720_alt_5.jpg'
});
This works fine with jquery-1.6.2, but with jquery-1.10+ after resizing the image map does get updated but the altImage is also displayed below the image map. So that page effectively becomes twice the height of the resized image.

@derrickxiang
Copy link

I run into the same issue recently and can't figure out a way, have you found a solution?

@boxboy
Copy link
Author

boxboy commented Jun 16, 2016

I think I just stuck with jquery-1.6.2

@techfg
Copy link
Collaborator

techfg commented Jan 30, 2021

This issue was resolved in #360 as described in #357.

@techfg techfg closed this as completed Jan 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants