OSDN Git Service

Version 0.6.195, add opacity-fix for IE8.
[pettanr/clientJs.git] / 0.6.x / js / 02_dom / 10_XNodeAnime.js
index 31e853a..9458c38 100644 (file)
@@ -452,7 +452,8 @@ function X_Node_Anime_getComputedPosition( that ){
                if( style = ( raw.currentStyle || raw.style ) ){\r
                        x = parseFloat( style[ 'left' ] );\r
                        y = parseFloat( style[ 'top' ]  );\r
-                       a = parseFloat( ( style[ 'filter' ] || 'opacity=1' ).split( 'opacity=' )[ 1 ] );\r
+                       a = that[ '_css' ] && 0 <= that[ '_css' ].opacity ? that[ '_css' ].opacity : 1;\r
+                       //parseFloat( ( style[ 'filter' ] || 'opacity=1' ).split( 'opacity=' )[ 1 ] );\r
                };\r
        };\r
 \r