[OpenLayers-Users] Users Digest, Vol 24, Issue 23

Jan Rune Henriksen henriksen3000 at hotmail.com
Tue Sep 9 12:00:21 EDT 2008


> 10. OpenLayers.Control.PanZoomBar : Can I get the Zoom bar> (slider) without the Pan buttons? (Matthew Pettis)
Hi.
One way to do this is by putting this in the bottom of the style.css file: 
#OpenLayers_Control_PanZoom_panup,  #OpenLayers_Control_PanZoom_panleft, 
#OpenLayers_Control_PanZoom_panright, #OpenLayers_Control_PanZoom_pandown
{visibility:hidden;}
 
Does'nt stop the panbuttons from parsing, but they wont be visible.
 
If you make your own stylesheet and link it in the webpage below the standard reference of style.css (and create it in your own folder outside of the openlayers structure), you can override just about everything thats delivered out of the box without having to worry about new releases, at least not until they change the id's used on the graphics.
 
Regards
Jan Rune HenriksenGecko AS
_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20080909/90422425/attachment.html


More information about the Users mailing list