Changeset 5856
- Timestamp:
- 01/23/08 17:28:26 (10 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
sandbox/topp/nymap/lib/OpenLayers/Control/PanZoomBar.js
r5852 r5856 323 323 }, 324 324 325 326 325 /* 327 326 * Method: moveZoomBar … … 337 336 newTop = barHeight - newTop; 338 337 339 this.setSliderPosition( (parseInt(OpenLayers.Util.pagePosition(this.zoombarDiv)[1]) + newTop));338 this.setSliderPosition(newTop); 340 339 }, 341 340 … … 366 365 367 366 // Set the new top by converting back to the dimensions of the slider. 368 this.setSliderPosition(newTop )367 this.setSliderPosition(newTop - (zoombarPagePosition[1] - containerPagePosition[1])) 369 368 }, 370 369
