Sign in to follow this  
midknight

Error on Links in pop-up windows in IE6 and IE7 when using FusionMaps

Recommended Posts

I tried to use the US and States maps and I wanted to drill down from the US map to each state by pop-up a new window. I use the link attribute in the entity object and I encoded something like this:

 

[link='P-detailsWin,width=1050,height=700,toolbar=no,scrollbars=no, resizable=no-Map.php?ref=116]

 

 

 

I first used Firefox for this and it worked, however I switch from using Firefox as testing to Internet Explorer 6. As I click on one US state the browser was not creating a new window. So I check it in other browsers such as Opera and it work. I tried to install IE7 to test and the problem persist. Did I miss something or have I done something wrong with my code?

 

 

 

Thanks

Share this post


Link to post
Share on other sites

I tried setting off the pop-up blocker but to no avail, the problem still persist.

 

 

 

Here is my sample xml file just take away - from <-:

 

 

 

<-map animation = '0' showLabels='1' includeNameInLabels='1' borderColor='CCCCC' legendBorderColor='000000' legendBorderThickness='0' fillAlpha='80' showBevel='0' legendPosition='Right' showCanvasBorder = '0'>

 

<-colorRange>

 

<-color minValue='0' maxValue='1' displayValue='DOWN' color='FF0000' />

 

<-color minValue='1' maxValue='2' displayValue='UP' color='0099CC' />

 

<-color minValue='2' maxValue='3' displayValue='DORMANT' color='CCCCCC' />

 

<-/colorRange>

 

<-data>

 

<-entity id='AL' value='1' link='P-detailsWin,width=1050,height=700,toolbar=no,scrollbars=no, resizable=no-Map.php?ref=247' toolText='Alabama [uP]'/>

 

<-entity id='AK' value='1' link='P-detailsWin,width=1050,height=700,toolbar=no,scrollbars=no, resizable=no-Map.php?ref=248' toolText='Alaska [uP]'/>

 

<-entity id='AZ' value='1' link='P-detailsWin,width=1050,height=700,toolbar=no,scrollbars=no, resizable=no-Map.php?ref=249' toolText='Arizona [uP]'/>

 

<-entity id='AR' value='1' link='P-detailsWin,width=1050,height=700,toolbar=no,scrollbars=no, resizable=no-Map.php?ref=250' toolText='Arkansas [uP]'/>

 

<-entity id='CA' value='0' link='P-detailsWin,width=1050,height=700,toolbar=no,scrollbars=no, resizable=no-Map.php?ref=251' toolText='California [DOWN]'/>

 

<-entity id='CO' value='1' link='P-detailsWin,width=1050,height=700,toolbar=no,scrollbars=no, resizable=no-Map.php?ref=252' toolText='Colorado [uP]'/>

 

<-entity id='CT' value='1' link='P-detailsWin,width=1050,height=700,toolbar=no,scrollbars=no, resizable=no-Map.php?ref=253' toolText='Connecticut [uP]'/>

 

<-entity id='DE' value='1' link='P-detailsWin,width=1050,height=700,toolbar=no,scrollbars=no, resizable=no-Map.php?ref=254' toolText='Delaware [uP]'/>

 

<-entity id='DC' value='1' link='P-detailsWin,width=1050,height=700,toolbar=no,scrollbars=no, resizable=no-Map.php?ref=255' toolText='District of Columbia [uP]'/>

 

<-entity id='FL' value='1' link='P-detailsWin,width=1050,height=700,toolbar=no,scrollbars=no, resizable=no-Map.php?ref=256' toolText='Florida [uP]'/>

 

<-entity id='GA' value='1' link='P-detailsWin,width=1050,height=700,toolbar=no,scrollbars=no, resizable=no-Map.php?ref=257' toolText='Georgia [uP]'/>

 

<-entity id='HI' value='1' link='P-detailsWin,width=1050,height=700,toolbar=no,scrollbars=no, resizable=no-Map.php?ref=258' toolText='Hawaii [uP]'/>

 

<-entity id='ID' value='1' link='P-detailsWin,width=1050,height=700,toolbar=no,scrollbars=no, resizable=no-Map.php?ref=259' toolText='Idaho [uP]'/>

 

<-entity id='IL' value='0' link='P-detailsWin,width=1050,height=700,toolbar=no,scrollbars=no, resizable=no-Map.php?ref=260' toolText='Illinois [DOWN]'/>

 

<-entity id='IN' value='1' link='P-detailsWin,width=1050,height=700,toolbar=no,scrollbars=no, resizable=no-Map.php?ref=261' toolText='Indiana [uP]'/>

 

<-entity id='IA' value='1' link='P-detailsWin,width=1050,height=700,toolbar=no,scrollbars=no, resizable=no-Map.php?ref=262' toolText='Iowa [uP]'/>

 

<-entity id='KS' value='1' link='P-detailsWin,width=1050,height=700,toolbar=no,scrollbars=no, resizable=no-Map.php?ref=263' toolText='Kansas [uP]'/>

 

<-entity id='KY' value='1' link='P-detailsWin,width=1050,height=700,toolbar=no,scrollbars=no, resizable=no-Map.php?ref=264' toolText='Kentucky [uP]'/>

 

<-entity id='LA' value='1' link='P-detailsWin,width=1050,height=700,toolbar=no,scrollbars=no, resizable=no-Map.php?ref=265' toolText='Louisiana [uP]'/>

 

<-entity id='ME' value='1' link='P-detailsWin,width=1050,height=700,toolbar=no,scrollbars=no, resizable=no-Map.php?ref=266' toolText='Maine [uP]'/>

 

<-entity id='MD' value='1' link='P-detailsWin,width=1050,height=700,toolbar=no,scrollbars=no, resizable=no-Map.php?ref=267' toolText='Maryland [uP]'/>

 

<-entity id='MA' value='1' link='P-detailsWin,width=1050,height=700,toolbar=no,scrollbars=no, resizable=no-Map.php?ref=268' toolText='Massachusetts [uP]'/>

 

<-entity id='MI' value='1' link='P-detailsWin,width=1050,height=700,toolbar=no,scrollbars=no, resizable=no-Map.php?ref=269' toolText='Michigan [uP]'/>

 

<-entity id='MN' value='1' link='P-detailsWin,width=1050,height=700,toolbar=no,scrollbars=no, resizable=no-Map.php?ref=270' toolText='Minnesota [uP]'/>

 

<-entity id='MS' value='1' link='P-detailsWin,width=1050,height=700,toolbar=no,scrollbars=no, resizable=no-Map.php?ref=271' toolText='Mississippi [uP]'/>

 

<-entity id='MO' value='1' link='P-detailsWin,width=1050,height=700,toolbar=no,scrollbars=no, resizable=no-Map.php?ref=272' toolText='Missouri [uP]'/>

 

<-entity id='MT' value='1' link='P-detailsWin,width=1050,height=700,toolbar=no,scrollbars=no, resizable=no-Map.php?ref=273' toolText='Montana [uP]'/>

 

<-entity id='NE' value='1' link='P-detailsWin,width=1050,height=700,toolbar=no,scrollbars=no, resizable=no-Map.php?ref=274' toolText='Nebraska [uP]'/>

 

<-entity id='NV' value='1' link='P-detailsWin,width=1050,height=700,toolbar=no,scrollbars=no, resizable=no-Map.php?ref=275' toolText='Nevada [uP]'/>

 

<-entity id='NH' value='1' link='P-detailsWin,width=1050,height=700,toolbar=no,scrollbars=no, resizable=no-Map.php?ref=276' toolText='New Hampshire [uP]'/>

 

<-entity id='NJ' value='1' link='P-detailsWin,width=1050,height=700,toolbar=no,scrollbars=no, resizable=no-Map.php?ref=277' toolText='New Jersey [uP]'/>

 

<-entity id='NM' value='1' link='P-detailsWin,width=1050,height=700,toolbar=no,scrollbars=no, resizable=no-Map.php?ref=278' toolText='New Mexico [uP]'/>

 

<-entity id='NY' value='0' link='P-detailsWin,width=1050,height=700,toolbar=no,scrollbars=no, resizable=no-Map.php?ref=279' toolText='New York [DOWN]'/>

 

<-entity id='NC' value='1' link='P-detailsWin,width=1050,height=700,toolbar=no,scrollbars=no, resizable=no-Map.php?ref=280' toolText='North Carolina [uP]'/>

 

<-entity id='ND' value='1' link='P-detailsWin,width=1050,height=700,toolbar=no,scrollbars=no, resizable=no-Map.php?ref=281' toolText='North Dakota [uP]'/>

 

<-entity id='OH' value='1' link='P-detailsWin,width=1050,height=700,toolbar=no,scrollbars=no, resizable=no-Map.php?ref=282' toolText='Ohio [uP]'/>

 

<-entity id='OK' value='1' link='P-detailsWin,width=1050,height=700,toolbar=no,scrollbars=no, resizable=no-Map.php?ref=283' toolText='Oklahoma [uP]'/>

 

<-entity id='OR' value='1' link='P-detailsWin,width=1050,height=700,toolbar=no,scrollbars=no, resizable=no-Map.php?ref=284' toolText='Oregon [uP]'/>

 

<-entity id='PA' value='1' link='P-detailsWin,width=1050,height=700,toolbar=no,scrollbars=no, resizable=no-Map.php?ref=285' toolText='Pennsylvania [uP]'/>

 

<-entity id='RI' value='1' link='P-detailsWin,width=1050,height=700,toolbar=no,scrollbars=no, resizable=no-Map.php?ref=286' toolText='Rhode Island [uP]'/>

 

<-entity id='SC' value='1' link='P-detailsWin,width=1050,height=700,toolbar=no,scrollbars=no, resizable=no-Map.php?ref=287' toolText='South Carolina [uP]'/>

 

<-entity id='SD' value='1' link='P-detailsWin,width=1050,height=700,toolbar=no,scrollbars=no, resizable=no-Map.php?ref=288' toolText='South Dakota [uP]'/>

 

<-entity id='TN' value='1' link='P-detailsWin,width=1050,height=700,toolbar=no,scrollbars=no, resizable=no-Map.php?ref=289' toolText='Tennessee [uP]'/>

 

<-entity id='TX' value='1' link='P-detailsWin,width=1050,height=700,toolbar=no,scrollbars=no, resizable=no-Map.php?ref=290' toolText='Texas [uP]'/>

 

<-entity id='UT' value='1' link='P-detailsWin,width=1050,height=700,toolbar=no,scrollbars=no, resizable=no-Map.php?ref=291' toolText='Utah [uP]'/>

 

<-entity id='VT' value='1' link='P-detailsWin,width=1050,height=700,toolbar=no,scrollbars=no, resizable=no-Map.php?ref=292' toolText='Vermont [uP]'/>

 

<-entity id='VA' value='1' link='P-detailsWin,width=1050,height=700,toolbar=no,scrollbars=no, resizable=no-Map.php?ref=293' toolText='Virginia [uP]'/>

 

<-entity id='WA' value='1' link='P-detailsWin,width=1050,height=700,toolbar=no,scrollbars=no, resizable=no-Map.php?ref=294' toolText='Washington [uP]'/>

 

<-entity id='WV' value='1' link='P-detailsWin,width=1050,height=700,toolbar=no,scrollbars=no, resizable=no-Map.php?ref=295' toolText='West Virginia [uP]'/>

 

<-entity id='WI' value='1' link='P-detailsWin,width=1050,height=700,toolbar=no,scrollbars=no, resizable=no-Map.php?ref=296' toolText='Wisconsin [uP]'/>

 

<-entity id='WY' value='1' link='P-detailsWin,width=1050,height=700,toolbar=no,scrollbars=no, resizable=no-Map.php?ref=297' toolText='Wyoming [uP]'/>

 

<-entity id='' value='' toolText=''/>

 

<-/data>

 

<-/map>

 

 

 

Thanks

Edited by Guest

Share this post


Link to post
Share on other sites

Hi,

 

 

 

I tried the same XML and it seems to work in IE 6 and 7. Just make sure that you're not running the map from local filesystem, but from a server (localhost, remote etc.).

Share this post


Link to post
Share on other sites

Hi!

 

 

 

Thanks for your help. I actually saw that what's causing the problem was the anti-virus program that is installed in my computer - it blocks all unknown pop-ups. I have already adjusted the settings of the anti-virus and the map is working just fine.

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
Sign in to follow this