[Geomoose-users] GM1.6: pop-up does not work anymore with new Firefox Version

Dan Little danlittle at yahoo.com
Sun Jul 4 08:04:04 EDT 2010


That looks like an IE hack that Firefox is now honoring.  

Try...

if(window.XSLTProcessor && navigator.userAgent.toLowerCase().indexOf("msie") > 0) { ... }

And see if that helps.



----- Original Message ----
> From: Vojko Daneu <vojko.daneu at mail.telepac.pt>
> To: geomoose-users at lists.sourceforge.net.
> Sent: Fri, July 2, 2010 11:11:00 AM
> Subject: [Geomoose-users] GM1.6: pop-up does not work anymore with new Firefox Version
> 
> Hallo,
with the new versions of Firefox the pop-up function in GeoMoose 1.6 
> 
does not work anymore. I found this 2 errors in the error panel of 
> Firefox:

Firefox error: xml is null
This error relates to the 
> following line in "GeoMOOSE.js":

this.populateMenuBar=function(xml){var 
> root=document.createElement('ul');root.className='menubar';root.hideAll=rootHideAll;root.setAttribute('id',MenuId);var 
> menus=xml.getElementsByTagName('menu');for(var m=0; m<menus.length; m++){var 
> menu=document.createElement('li');root.appendChild(menu);menu.className='menu';var 
> menuLink=document.createElement('a');menu.appendChild(menuLink);menuLink.appendChild(document.createTextNode(menus[m].getAttribute('title')));if(menus[m].getAttribute('href')){menuLink.href=menus[m].getAttribute('href');} 
> else {menuLink.href='#';}



Firefox error: setting a property that 
> only has a getter
This error relates to the following line in 
> "GeoMOOSE.js":

if(window.XSLTProcessor){xslDoc.readyState=4;xslDoc.addEventListener('load', 
> xslDoc.onreadystatechange, false);}


Any suggestions what to 
> change?

Greetings, 
> Vojko



------------------------------------------------------------------------------
This 
> SF.net email is sponsored by 
> Sprint
What will you do first with EVO, the first 4G phone?
Visit 
> target="_blank" href="http://sprint.com/first">sprint.com/first -- 
> http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Geomoose-users 
> mailing list

> href="mailto:Geomoose-users at lists.sourceforge.net">Geomoose-users at lists.sourceforge.net

> href="https://lists.sourceforge.net/lists/listinfo/geomoose-users" target=_blank 
> >https://lists.sourceforge.net/lists/listinfo/geomoose-users


      




More information about the Geomoose-users mailing list