andrewt

IE6 stops responding after a series of navigation events and JavaScript map click handlers

Recommended Posts

Since adding "back button" support to our Ajax application by using the YUI Browser History Manager, we've noticed that in IE6 the browser locks up the second time we click on one of the maps in our application.

 

 

 

Having investigated further, the issue seems to be caused by updating the document.location.hash property, which the YUI Browser History Manager does in order to enable bookmarking the application state. However, it is possible to demonstrate the bug with a very simple test case, without any of the YUI stuff and with only minimal JavaScript to create the FusionMaps object and the associated click handler.

 

 

 

We're using a licensed copy of FusionMaps v3, but I've put together the bug demonstration using the Evaluation version. Please try it for yourself at http://www.daybarr.com/playpen/fusionmaps/.

 

 

 

Is this a FusionMaps issue, an Adobe Flash Player issue, an IE6 issue, or entirely my fault? If we can't fix this, we may need to use a different mapping solution as support for IE6 users and having a working back button for our single page Ajax app are essential requirements.

 

 

 

Thanks in advance for your help,

 

Day

Share this post


Link to post
Share on other sites

I just wanted to provide an update here.

 

 

 

I have been working through this issue with FusionCharts support, and there is a way to prevent the bug that requires some updates to the map SWFs. FusionCharts have been very helpful so far with their support, sending us a custom build of a map to try out the fix, and I just wanted to say thanks to them, especially Pallav who has been dealing with my support request. Good work guys :)

Share this post


Link to post
Share on other sites

I have the same problem with the chart event throwing IE to a blank screen. You can tell it throws an IE into a tizzy by trying to view source.

 

 

 

How can I resolve this? Have you found a solution?

 

 

 

I am using http://domain.tld/#chart1?par1=a&par2=b and http://domain.tld/#chart2?par1=c for chart navigation.

 

 

 

Thanks,

 

Andrew

Edited by Guest

Share this post


Link to post
Share on other sites

The latest version of FusionMaps has a new "FusionMaps Link Format" that can be used for the clickURL attribute of the map element, or the link attribute of an entity element.

 

 

 

Instead of using e.g.

 

 

 

clickURL="JavaScript:MyClickHandler(12)"

 

 

 

use a link that begins with "j-", followed by name of callback function defined in JavaScript on the page, another "-" then paraemters to pass to your callback e.g.

 

 

 

clickURL="j-MyClickHandler-12"

 

 

 

There are further details I'm not sure of off the top of my head, but I can't find the documentation for this in the FusionMaps docs http://www.fusioncharts.com/maps/docs/. Hopefully this will get you started, maybe someone from InfoSoft can help you some more?

Share this post


Link to post
Share on other sites

Im having a similar issue with fusion charts. I have a series of tabs that contain the charts and other data. One tab has a drill down chart that works fine on initial display. If I switch tabs and come back then the drill down no longer works. The labels on the columns dissappear as well execpt for one column( the first). This is the only column that will allow drill down all the others do not work. It happens in IE7 but not on my MAC safari or google chrome. Any ideas or workarounds?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now