OpenLayers OpenLayers

Changeset 5326

Show
Ignore:
Timestamp:
12/02/07 15:46:15 (1 year ago)
Author:
crschmidt
Message:

Reversing the order we set opacity changes the behavior when using VE, but
nothing else. This fixes the fact that you can't use client side opacity
while including the Virtual Earth javascript. Thanks for the spot from
Jeff Yutzler. Includes a manual test. (Closes #1175)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/lib/OpenLayers/Util.js

    r5325 r5326  
    172172    } 
    173173    if (opacity) { 
     174        element.style.filter = 'alpha(opacity=' + (opacity * 100) + ')'; 
    174175        element.style.opacity = opacity; 
    175         element.style.filter = 'alpha(opacity=' + (opacity * 100) + ')'; 
    176176    } 
    177177};