Changeset 345
- Timestamp:
- 05/24/06 21:11:42 (3 years ago)
- Files:
-
- trunk/openlayers/lib/Rico/Corner.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openlayers/lib/Rico/Corner.js
r344 r345 62 62 * See changeColor (above) for algorithm explanation 63 63 * 64 * @param {DOM} theDiv -A child of the outer <div> that was64 * @param {DOM} theDiv A child of the outer <div> that was 65 65 * supplied to the `round` method. 66 66 * 67 * @param {int} newOpacity - The new opacity to use (1-10).67 * @param {int} newOpacity The new opacity to use (0-1). 68 68 */ 69 69 changeOpacity: function(theDiv, newOpacity) { 70 70 71 var mozillaOpacity = newOpacity / 1072 var ieOpacity = 'alpha(opacity=' + newOpacity * 10 + ')';71 var mozillaOpacity = newOpacity; 72 var ieOpacity = 'alpha(opacity=' + newOpacity * 100 + ')'; 73 73 74 74 theDiv.style.opacity = mozillaOpacity;
