OpenLayers OpenLayers

Changeset 7956

Show
Ignore:
Timestamp:
09/04/08 18:05:05 (3 months ago)
Author:
euzuro
Message:

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)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/examples/pan-zoom-panels.html

    r7950 r7956  
    44    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    55 
    6     <!--[if IE]> 
     6    <!--  
     7      -- Special stylesheet inclusion for ie6, which doesn't handle the alpha  
     8      -- channel of images correctly. The special ie6 stylesheet will only  
     9      -- be included if the browser running is ie6. For now, the only thing it 
     10      -- does is load alternative, non-alpha pngs for the zoom/pan panels. 
     11      --> 
     12 
     13    <!--[if lte IE 6]> 
    714        <link rel="stylesheet" href="../theme/default/ie6-style.css" type="text/css" /> 
    815    <![endif]--> 
  • trunk/openlayers/lib/OpenLayers/Control/PanPanel.js

    r7950 r7956  
    66/** 
    77 * Class: OpenLayers.Control.PanPanel 
     8 *  
     9 * Note: If you wish to use this class with the default images and you want  
     10 *       it to look nice in ie6, you should add the following, conditionally 
     11 *       added css stylesheet to your HTML file: 
     12 *  
     13 * <!--[if lte IE 6]> 
     14 *   <link rel="stylesheet" href="../theme/default/ie6-style.css" type="text/css" /> 
     15 * <![endif]--> 
     16 *  
    817 */ 
    918OpenLayers.Control.PanPanel = OpenLayers.Class(OpenLayers.Control.Panel, { 
  • trunk/openlayers/lib/OpenLayers/Control/ZoomPanel.js

    r7950 r7956  
    88/** 
    99 * Class: OpenLayers.Control.ZoomPanel 
     10 *  
     11 * Note: If you wish to use this class with the default images and you want  
     12 *       it to look nice in ie6, you should add the following, conditionally 
     13 *       added css stylesheet to your HTML file: 
     14 *  
     15 * <!--[if lte IE 6]> 
     16 *   <link rel="stylesheet" href="../theme/default/ie6-style.css" type="text/css" /> 
     17 * <![endif]--> 
     18 *  
    1019 */ 
    1120OpenLayers.Control.ZoomPanel = OpenLayers.Class(OpenLayers.Control.Panel, {