On Jun 7, 9:54 pm, yonkyo <[email protected]> wrote: > The page with the error in question (the event data is not showing up > on the > page):http://esd.lbl.gov/research/projects/induced_seismicity/egs/geysers.html > > IE8 throws an error (invalid argument) pointing to line 133 of > main.js, which IE debugging tools shows as: > function wf(a,b){a.style.left=L(b)} > > IE7 was working when I first made the page last year. I don't > currently have an IE7 testing environment, so I can't speak to whether > it still works or not.
It fails silently in IE7. I don't get the red-dot markers. That particular line sets the style of element "a" as round(b)+"px" --> a.style.left="279px" So: I guess there is something wrong with your definition of the red- dot markers, and the browser is attempting to set the style to something invalid. I can't tell what though, but a possibility is that something which should be a number is a string instead. [pause] I reckon the problem is at line 132 of geysersMap.js: var size =2+Math.floor(4*gMapsXtend.json[i].mag); because .mag="4", a string. Use parseFloat() on it. There may other similar problems. It's likely that everything which comes from your json and which should be a number should be explicitly made into a number. -- 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.
