Code Monkey home page Code Monkey logo

Comments (16)

jamietre avatar jamietre commented on May 24, 2024

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.

hlb avatar hlb commented on May 24, 2024

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.

jamietre avatar jamietre commented on May 24, 2024

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.

hlb avatar hlb commented on May 24, 2024

@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.

jamietre avatar jamietre commented on May 24, 2024

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.

hlb avatar hlb commented on May 24, 2024

It does not work neither :-/

from imagemapster.

jamietre avatar jamietre commented on May 24, 2024

Huh. That is annoying. Well I should be able to mac test later today and see what's going on.

from imagemapster.

jamietre avatar jamietre commented on May 24, 2024

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.

hlb avatar hlb commented on May 24, 2024

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.

jamietre avatar jamietre commented on May 24, 2024

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.

hlb avatar hlb commented on May 24, 2024

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.

jamietre avatar jamietre commented on May 24, 2024

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.

jamietre avatar jamietre commented on May 24, 2024

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.

pierinz avatar pierinz commented on May 24, 2024

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.

jamietre avatar jamietre commented on May 24, 2024

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.

jamietre avatar jamietre commented on May 24, 2024

Finally got in front of a mac. I see no issues with Safari in the current dev version. Closing.

from imagemapster.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.