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

ImageMapster is changing the coord on hover effect #212

Closed
yaazkal opened this issue Aug 11, 2014 · 4 comments
Closed

ImageMapster is changing the coord on hover effect #212

yaazkal opened this issue Aug 11, 2014 · 4 comments
Labels

Comments

@yaazkal
Copy link

yaazkal commented Aug 11, 2014

Hi. The issue that I'm experiencing is that the hover effect is changing the coords, so the image looks moved when you hover.

I've checked and image seems good. No width, height, position or anything on the image is changed. But coords are changed as you can see.

Site: http://dev.marcell.co

I can't get any way to troubleshoot that as I tested all that I know.

Thanks.

@jamietre
Copy link
Owner

Are you certain that the imagemap is correct? It doesn't appear to match the native size of the image.

http://jsfiddle.net/o21gktes/

The image map must match the native size of the image. If it doesn't, you can try setting the scaleMap option to false if it matches the display size.

http://outsharked.com/imagemapster/default.aspx?docs.html#scalemap

@yaazkal
Copy link
Author

yaazkal commented Aug 12, 2014

Hi jamietre and thanks for your quick answer.

Two images are the same size and it was supposed that the width and height defined in the img tag was correct (native size). Anyway I set scaleMap to false and it works now.

Has the max-width: 100%; on css anything to do or is just because I also set width and height on img tag?

Thanks a lot !

@techfg
Copy link
Collaborator

techfg commented Feb 15, 2021

Hello @yaazkal -

Thank you for your inquiry, apologize for the delayed reply!

Unfortunately, the original URL you mentioned in your OP along with the image that @jamietre used in his fiddle are no longer available so I'm unable to provide an definitive answer to your question at this time.

Per your OP, IM will not change the coords during hover so I'm not sure what was going on and/or what you were seeing. Setting the width/height/max-width should not cause an issue with the current version of IM although its difficult to say for certain if it would have caused an issue with the version you were using since I'm not sure what version that was. There are some issues with some css properties (see #358) but it doesn't appear you were using anything other than width/height/max-width.

Either way, if this is still an issue for you, if you could update this issue per our Bug Reports guidelines, we'd be happy to take a closer look.

@techfg
Copy link
Collaborator

techfg commented Mar 21, 2021

Hello @yaazkal -

It has been over 30 days since we last heard from you so we are going to close this issue.

If you need further assistance, please choose one of the following options:

  1. For general IM questions, how to's, usage, etc., please use one of the options described on our Support page.
  2. If you believe you have identified a bug in IM, please update this issue following our Bug Reports guidelines.
  3. If you would like to request a new feature for IM, please open a new issue following our Feature Requests guidelines.

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

No branches or pull requests

3 participants