Random Cross-Browser issue

Home Forums MapPress Support Random Cross-Browser issue

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #9980
    palmerin
    Participant

      Hi! I’m using MapPress Pro 2.38 and I think it’s extremely useful for what I need. The problem is that the map randomly fails to load, apparently only on safari. Sometimes it works just fine, sometimes it loads forever.

      Is this a known issue, or does anyone have any idea how to check what could be wrong? The site is lifeincamera.com

       

      Thanks!

      #9982
      Chris
      Keymaster

        Hi, random cross-browser issues can be very tough to troubleshoot.  Do you have a particular page on the site that has this issue?  I didn’t see a map on the link you gave.

        How many reloads does it take to see the issue?

        One common problem is the map will appear to not load (or only partially draw) if it’s being displayed inside a container that’s initially hidden, like a tab control or hidden <div>.  Check out the FAQ posting in the forum for info about that issue if you think it might be the cause.

        #10046
        palmerin
        Participant

          Hi! sorry I missed this post, I didn’t get a notification.

          The map actually does load in a tab that slides from the top of the page. I will check the FAQ, thanks!

          #10047
          palmerin
          Participant

            Ok, I checked, and it’s not exactly the same issue, because in my case, not even a corner of the map shows, but I think it’s worth a shot.

            It says on the FAQ that I can add this code (using the name of my mape, of course):

            mapp0.resize();

            Where should I add that code?

            Thanks!

            #10048
            Chris
            Keymaster

              Hi,

              That code is javascript, so you’ll need to know how to write some javascript on the page in order to use it.

              Also the code has to be called when the slider is displayed – that depends on the ‘display’ event for the slider control, which is different for every slider.

              You could also try the CSS workaround of positioning the hidden element off-screen.

              Unfortunately, there’s no general answer.  It depends on what type of plugin/control you’re using for the slider.

              Here’s a link to the jQuery page explaining the same thing for their tabs control:

              http://jqueryui.com/demos/tabs/#…my_slider.2C_Google_Map.2C_sIFR_etc._not_work_when_placed_in_a_hidden_.28inactive.29_tab.3F

              There are millions of hits about this problem on Google.  Maybe someone has already found a a solution for that particular slider?

            Viewing 5 posts - 1 through 5 (of 5 total)
            • You must be logged in to reply to this topic.