Hello,

I'm a bit curious about OpenLayers examples

They rely on

 <body onload="init()">

but Unobtrusive JavaScript principles (
http://en.wikipedia.org/wiki/Unobtrusive_JavaScript) tell you to use
something like

windows.onload = function() { init(); }

So, why Openlayers examples are using the first syntax?


Regards

ThomasG
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to