I am having an issue with a CMS spitting out an [i] as <i> on the html.
website is here: http://www.barcc.org/static/387/ Background: CMS is ExpressEngine v 1.6.4 I am using the "edit entry" page to put in the html/js for the webpage. This seems to load pages fine no problem as I have had maps loaded here. It allows me to put in a "head" and "body" for the page in question. Google maps usually loads fine. The problem is I am doing more complicated things with loading an xml doc as a series of markers. I don't believe the markers or the xml page are an issue, but the only problem I seem to get is that the CMS apparently interprets the following incorrectly: This is what I enter into the CMS: //<![CDATA[ function Markers(color){ //map.closeInfoWindow(); map.getInfoWindow().hide() if (document.getElementById(color).checked==false) { // hide the marker for (var i=0;i<gmarkers.length;i++) { if (gmarkers[i].type==color) { map.removeOverlay(gmarkers[i]); } } } else { // show the marker again for (var i=0;i<gmarkers.length;i++) { if (gmarkers[i].type==color) { map.addOverlay(gmarkers[i]); } } } } the key line is if(gmarkers[i].type==color) That is shown on the loaded page: if (gmarkers<i>.type==color) { So this throws off the whole thing as it opens up an italic and doesnt know what to do about it (the .type ends up as an error) This is already within the CDATA so i didnt think that would help to put it again there... Any suggestions!? Thanks in advance. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
