Fixing example to only do the conditional inclusion on ie6 and below and adding some explanatory comments in the example file and also in the actual controls themselves. No functional change to library (only to example file)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@7956 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -7,6 +7,15 @@
|
||||
|
||||
/**
|
||||
* Class: OpenLayers.Control.ZoomPanel
|
||||
*
|
||||
* Note: If you wish to use this class with the default images and you want
|
||||
* it to look nice in ie6, you should add the following, conditionally
|
||||
* added css stylesheet to your HTML file:
|
||||
*
|
||||
* <!--[if lte IE 6]>
|
||||
* <link rel="stylesheet" href="../theme/default/ie6-style.css" type="text/css" />
|
||||
* <![endif]-->
|
||||
*
|
||||
*/
|
||||
OpenLayers.Control.ZoomPanel = OpenLayers.Class(OpenLayers.Control.Panel, {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user