[OpenLayers-Dev] problem in OpenLayers.Util.pagePosition
Erik Uzureau
erik.uzureau at metacarta.com
Wed Oct 3 18:09:14 EDT 2007
Thanks Bart for this good bug find. We've found and fixed the problem
and it's all bundled up in the new RC4 that cr5 just created.
This sort of report is priceless for ensuring the quality of each release
of OpenLayers.
THANK YOU to everyone who gives our RC's a spin. We appreciate!
E
On 9/25/07, Bart van den Eijnden (OSGIS) <bartvde at osgis.nl> wrote:
> Hi list,
>
> using 2.5RC3 I have a problem in the above mentioned function, whereas this
> works fine in version 2.4. The problem is only in IE.
>
> The error occurs in the following line of getStyle (style is null or not an
> object):
>
> var value = element.style[OpenLayers.String.camelize(style)];
>
> If I change the following line (back to its 2.4 equivalent):
>
> if(element == document.body) {
>
> to:
>
> if(element.offsetParent == document.body) {
>
> it works fine again.
>
> Best regards,
> Bart
>
> --
> Bart van den Eijnden
> OSGIS, Open Source GIS
> http://www.osgis.nl
>
>
>
>
>
> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev
>
More information about the Dev
mailing list