> I've updated the example to show this:http://www.whatgas.com/resizetest.aspx
Aside, I've noticed an extra xml header in your html, which will spoil the doctype for IE. If like me you're testing by dragging the window ... multiple onresize events are triggered Try this example - http://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_onresize Sometimes perhaps your javascript is partway through processing one resize event when the next one arrives so all the numbers get muddled. BUT No matter how carefully I try to do a one-pixel window drag, it still breaks. In FF2, it behaves consistently as follows - resizemap() runs on page load and places the screenoverlay for the first time okay. On first drag, resizemap() is run again and successfully removes the old overlay and places a new one without error. On next drag, it fails during execution of map.checkResize() What's different? I think this is working when the div is sized as per the initial page load, and goes wrong on the second resizing event when the 'existing' div size is no longer the same as the 'initial' div size. Doing a little searching shows the art of reading a div size from the DOM is all a bit hacky and browser dependant. I've no idea where the problem lies here. Your CSS specifies the map div size, thats probably involved somewhere good luck!, Ross K --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
