On Mar 26, 5:29 am, Chris <[email protected]> wrote:
> Hi,
>
> I have a map pulling data from a dynamically generated XML page.  Its
> based on code from Mike Williams examples [donation on its way soon as
> we get paid for this project] and works fine in FF3 & Safari 3.2.2.
>
> IE7 reports 'Unknown runtime error' somewhere through the process of
> applying the markers from the XML file to the map.
>
> Page is running at:http://swcgl.edgedevelopment.co.uk/location.php
>
> You'll notice that it gets one marker on the map - it's dead centre,
> green golf flag near the town of Irvine.  This is the first marker in
> the XML feed which can be seen 
> at:http://swcgl.edgedevelopment.co.uk/location-maps-xml.php?show=all
>
> Anyone able to point me in the right direction to fix this?

The MS Script debugger shows the error on this line:
document.getElementById("side_bar").innerHTML = varopening +
side_bar_html + varclosing;

If you comment out that line, it works in IE.  Look closely at what
that line does.  Do your really want to replace the sidebar contents
completely (overwriting it) for each marker?

I suspect IE is not happy with the html that you are attempting to
use.

The error is the first time, when it is set to this:

<form name="form" id="form">                    Find details for: <select
name="jumpMenu" id="jumpMenu">                  <option value="">Choose 
from...</
option><option value="javascript:myclick(0)">Dundonald Links</option>
</select>                       <input type="button" name="go_button" id= 
"go_button"
value="Show" title="Show location and details on map"
onclick="MM_jumpMenuGo('jumpMenu','parent',0)" />


  --Larry
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to