Funny that someone answers to this email today. I just found out one hour ago that this bug has been reported here some days ago :<br> <a class="external" href="https://github.com/openlayers/openlayers/issues/798">https://github.com/openlayers/openlayers/issues/798</a> and has been fixed on master branch : buttonclick.js :  <a href="https://github.com/finn-no/openlayers/commit/97c793281f4dbb6610faf996197c621a4e9148ab">https://github.com/finn-no/openlayers/commit/97c793281f4dbb6610faf996197c621a4e9148ab</a><br>

<br>See also Util.js in <a class="external" href="https://github.com/openlayers/openlayers/commit/a2a391d3b54990b7722de460aa9343225367fc2a#commitcomment-2525834">https://github.com/openlayers/openlayers/commit/a2a391d3b54990b7722de460aa9343225367fc2a#commitcomment-2525834</a> since the commit above depends on it.<br>

<br>Regards,<br><br clear="all"><div><font style="color:rgb(0,0,0)">Barbara PHILIPPOT</font><br></div><br><div class="gmail_quote">2013/2/21 johnvb <span dir="ltr"><<a href="mailto:john.vanbreda@biodiverseit.co.uk" target="_blank">john.vanbreda@biodiverseit.co.uk</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I can confirm this. Using XHTML Transitional on FireFox, if the page is<br>
scrolled down then clicks on the PanZoomBar are offset by the amount the<br>
page is scrolled down. In most cases, this means that the map will ping to<br>
the maximum zoom when you click anywhere on the zoom bar.<br>
<br>
The patch works for me.<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://osgeo-org.1560.n6.nabble.com/Bug-in-PanZoomBar-Control-Viewport-Element-tp5000113p5035770.html" target="_blank">http://osgeo-org.1560.n6.nabble.com/Bug-in-PanZoomBar-Control-Viewport-Element-tp5000113p5035770.html</a><br>


Sent from the OpenLayers Dev mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Dev mailing list<br>
<a href="mailto:Dev@lists.osgeo.org">Dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-dev</a><br>
</blockquote></div><br>