-
-
Notifications
You must be signed in to change notification settings - Fork 222
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
resizing on mulitple image mapping #74
Comments
Does each map have a different ID? |
Yup |
if you find the solution let me know. |
I am tired in working with multiple image mapping on same page. |
You need to make a simple test case and post a link to it here |
Hi David, However, if you change that top right square to be a county map, like at this link: http://operations.nysmesonet.org/~nbassill/dashboard/index.php?precip=precipday&other=maxgust&misc=nycountymaplogo&past=precip1&loop=P1 I am far from an expert programmer, but the relevant code for that top right square is something like:
|
How are you calling |
At the moment it's done just by inserting a script at the end of the html code. Simply: |
I have a similar problem In my case I switch between images based on the aspect ratio of the screen. I switch between two maps accordingly. Everything works except for the rescaled alternative image. I have tried In all cases the default image gets remapped correctly, but for the alternative image, mapping only works in the non-rescaled sense (the image resizer does not work) |
How do I use imageMapResize on a page with multiple image maps? |
You should be able to just run it once after all the image maps have loaded in the HTML. If you run it a second time it will look for imagemaps that it has not already seen. |
resizing JS is not working properly if we put separate mapping on two different images in one page. Only one image mapping is working at once. Let me know if i am doing something wrong.
The text was updated successfully, but these errors were encountered: