H Chris, Thanks for clarifying. I'm still confused as I've checked the markup, and I'm reasonably sure that I have all the requisite tags and properly closed. Is there something obvious I might be missing otherwise. I'm pretty sure that I don't have any jscript which is manipulating the dom. Anyway, I've traded this error for something else...
On Tue, Jun 7, 2011 at 7:09 AM, <[email protected]> wrote: > OpenLayers assumes that you have a reasonably valid HTML document -- which > means you need to have a > <head> element. (I think that if you set theme: null and include the CSS > yourself, this requirement > doesn't exist.) > > -- Chris > > On Jun 1, 2011, at 1:10 PM, ext Nicholas Efremov-Kendall wrote: > > > Hi all, > > > > I'm having some strange errors with OL 2.11 being loaded locally. I'm > getting two different errors in chrome and firefox coming from the > openlayers.js file. > > > > Firefox reports document.getElementsByTagName("head")[0] is undefined, > error in OL.js line 276. > > > > Chrome gives me a different error: Uncaught TypeError: Cannot call method > 'appendChild' of undefined at OL.js line 276, and in main.js line 12. > > > > any ideas what's causing this error? > > _______________________________________________ > > Users mailing list > > [email protected] > > http://lists.osgeo.org/mailman/listinfo/openlayers-users > >
_______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
