Changeset 4923
- Timestamp:
- 09/03/06 19:11:46 (2 years ago)
- Files:
-
- spinoffs/scriptaculous/CHANGELOG (modified) (1 diff)
- spinoffs/scriptaculous/src/effects.js (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
spinoffs/scriptaculous/CHANGELOG
r4921 r4923 1 1 *SVN* 2 3 * Fix various issues with IE detection and Opera, and setOpacity, fixes #3886, #5973 2 4 3 5 * Make Sortable.serialize handle DOM IDs like "some_element_1" correctly, fixes #5324 spinoffs/scriptaculous/src/effects.js
r4802 r4923 60 60 Element.setStyle(element, { opacity: 61 61 (/Gecko/.test(navigator.userAgent) && !/Konqueror|Safari|KHTML/.test(navigator.userAgent)) ? 62 0.999999 : null});63 if(/MSIE/.test(navigator.userAgent) )62 0.999999 : 1.0 }); 63 if(/MSIE/.test(navigator.userAgent) && !window.opera) 64 64 Element.setStyle(element, {filter: Element.getStyle(element,'filter').replace(/alpha\([^\)]*\)/gi,'')}); 65 65 } else { 66 66 if(value < 0.00001) value = 0; 67 67 Element.setStyle(element, {opacity: value}); 68 if(/MSIE/.test(navigator.userAgent) )68 if(/MSIE/.test(navigator.userAgent) && !window.opera) 69 69 Element.setStyle(element, 70 70 { filter: Element.getStyle(element,'filter').replace(/alpha\([^\)]*\)/gi,'') + … … 114 114 115 115 var tagifyStyle = 'position:relative'; 116 if(/MSIE/.test(navigator.userAgent) ) tagifyStyle += ';zoom:1';116 if(/MSIE/.test(navigator.userAgent) && !window.opera) tagifyStyle += ';zoom:1'; 117 117 element = $(element); 118 118 $A(element.childNodes).each( function(child) { … … 361 361 if(!this.element) throw(Effect._elementDoesNotExistError); 362 362 // make this work on IE on elements without 'layout' 363 if(/MSIE/.test(navigator.userAgent) && (!this.element.currentStyle.hasLayout))363 if(/MSIE/.test(navigator.userAgent) && !window.opera && (!this.element.currentStyle.hasLayout)) 364 364 this.element.setStyle({zoom: 1}); 365 365 var options = Object.extend({ … … 736 736 effect.element.undoClipping(); 737 737 // IE will crash if child is undoPositioned first 738 if(/MSIE/.test(navigator.userAgent) ){738 if(/MSIE/.test(navigator.userAgent) && !window.opera){ 739 739 effect.element.undoPositioned(); 740 740 effect.element.firstChild.undoPositioned();