Closed LucyTurtle closed 3 years ago
Hello @LucyTurtle -
Thank you for your questions, apologies for the relayed reply!
Unfortunately, the URL you specified is no longer available but I'll try to do my best to answer your questions where I can:
Question 1: The likely reason for this is that "resize" logic that you have on the page. In the resize
method, you are using the selector img
and then calling width()
and height()
. The way jQuery works, when you call width
or height
is that it will return the width/height of the first element retrieved via the selector. Given this, what's likely occurring since you have two images on the page is that the width/height are coming from the #logo
image and then when you call imagemapster resize
method, it is applying that width/height to both images. The solution here is to obtain the width/height of each individual image if you want to resize both images or just obtain #logo
width/height if you only want to resize #tree
Question 2: Not sure what you mean by "boxy edges" but its possible this can be accomplished via CSS. This question is likely best suited for Stack Overflow. See our Support page for more details on the best places to find general support of IM/javascript/etc.
Question 3: It's very possible this is the same issue as Question #1 but without a repro, its difficult to say. IM should have no effect on positioning and since you mention the problem only occurs when you include the "script" (assuming you mean the resize portion of the script not the entire script), this is likely the cause.
Please let us know if this helps!
Hello @LucyTurtle -
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:
So I have a few questions about my page and ImageMapster. I have it working, however there are a few weird kinks/ideas that I am hoping y'all can help me with.
Here is the code for my page, www.pinkdropwellness.com, and see below for the questions :
Questions!
Question 1: The href area and the highlighted area on the page are not overlapping. As you can see if you visit the site, the linked area seems to be just a little to the right of where it should be. Do you know what may be causing this?
Question 2: I would like for the color inside of the highlighted area to fade towards the edges so you cannot see the boxy edges. Is there any way you can think of to do this? I tried using images but they didn't fit into the area correctly. If this is the right idea how would I go about making sure they fit into the area.
Question 3: I had the tree image located at the top of the page, and centered in the middle of the screen (using css). As you can tell it is no longer doing that once I added the script. If I delete the script out it goes back to where it was! It seems like all CSS is being totally ignored. Do you know how to fix that? I would like my tree to be at the top of the page and centered horizontally.