Comments (16)
Is it just the demo page not working for you, or do other examples not work? I am trying to determine if its a problem with the script, or just that page.
Please tell me if these others work for you:
Simple fiddle: http://jsfiddle.net/jamietre/bJmcj/8/
Standalone USA map: http://www.outsharked.com/imagemapster/examples/usa.html
from imagemapster.
The fiddle demo and USA map demo do not work in Safari/mac too. But they do work in Chrome/mac and Firefox7/mac.
from imagemapster.
I can see some issues in PC Safari too. I have not been able to figure out what is exactly causing the problem, but it's not so much ImageMapster as the fact that the web site loads each page dynamically. It seems to not work unless you load directly.
I didn't see any trouble except on the demo page, though.
I changed the site to force a page refresh wheneever that page is loaded asynchronously for Safari only. Seems to work. This will have to do until I have more time to figure out why only safari does not seem to be able to rebind on dynamically loaded content.
I also pushed an update to the script also. Can you check again on the two pages (other than the demo)? I don't have easy access to a mac today.
from imagemapster.
@jamietre, sorry I didn't test the source code first. The demo in the source code works in Safari/mac. Both 8d7433 and a190c6 commits work.
But the demos on your site do not work still, and I can't see why :)
from imagemapster.
Argh. There is something happening with the DOM, everything binds normally, but the events are getting lost somehow when the page is loaded asynchronously.
Can you tell me if the imagemap in the site logo header works? (The shaded states in the header bar are also an imagemap). That will at least tell me it's the same issue as with PC safari.
from imagemapster.
It does not work neither :-/
from imagemapster.
Huh. That is annoying. Well I should be able to mac test later today and see what's going on.
from imagemapster.
I had another idea, just pushed another update to the web site. Try the demo page again when you get a chance (make sure you reload a coupel times to be sure the script isn't cached).
Still have not been able to get on the mac today.
from imagemapster.
I have cleaned the cache. It shows error messages 8 times:
jquery.imagemapster.js:873 TypeError: 'undefined' is not an object (evaluating 'this.options.safeLoad')
from imagemapster.
Oops - didn't test properly. I have fixed it, please try again. There is now an option "safeLoad" which will force imagemapster to wait for the entire page to load (window.onload) before configuring. This appears to solve some problems in windows safari. I am going to demand someone hook up the apple that is sitting in my office today so I can see for myself what is up too. But please try again if you get a chance.
from imagemapster.
It shows another mystery error:
jquery.imagemapster.js:1718 INVALID_STATE_ERR: DOM Exception 11: An attempt was made to use an object that is not, or is no longer, usable.
from imagemapster.
Very strange. I will be able to get on an apple today and try to figure it out.
I did remember to try out the web site on my IPad yesterday, though, and everything worked perfectly! The mystery continues.
from imagemapster.
Hi - Hoping to close this issue. There have been many changes to imagemapster since we last spoke.
If you are still paying attention to this issue would you mind trying again with the latest dev code?
from imagemapster.
Hi, i got a similar issue with Chromium 18, it failed with the same error: "INVALID_STATE_ERR: DOM Exception 11".
Anyway, the latest dev code seems to fix the problem.
from imagemapster.
There does seem to be something in 1.2.4 that breaks recent chrome builds, I've seen this come too. I think it's about time to retire that one. I'm uncomfortable with the current state of the tests and don't have time to deal with that right now but almost every problem that comes up seems to be already resolved in the current dev code.
from imagemapster.
Finally got in front of a mac. I see no issues with Safari in the current dev version. Closing.
from imagemapster.
Related Issues (20)
- Visual 'selection' cannot be removed via API when `staticState === true`
- area w/ `staticState === false` that has been selected via API becomes unselected when clicking another area
- `select`/`set` options not applied or not applied correctly
- Change tooltips dinamically HOT 1
- singleSelect not respected when `selected` === true on map config and/or multiple area config HOT 1
- Rename default branch to main HOT 4
- Uncaught RangeError: Maximum call stack size exceeded when includeKeys has circular reference
- Inconsistent/Unexpected behavior when clicking area that has includeKeys
- onConfigured not called after rebind
- areas appears selected in UI after rebind even though its selected state !== true HOT 1
- some options (e.g. wrapClass) are not applied after rebind
- onGetList not called when isSelectable !== true
- tests not waiting for onConfigured before continuing
- [📘] rebind docs are not correct regarding preserving selected state
- jsFiddle demos are all broken HOT 6
- Incorrect reference to navigateMode config option name
- Safari's OCR/Live Text is blocking image zones HOT 3
- [TouchScreen only] Weird highlight glitch when touch on the other area beside the map. HOT 5
- this.activeToolTip.stop is not a function HOT 2
- Export image HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imagemapster.