OSDN Git Service

Version 0.6.206, update X.Node.Anime, bug fixes X.HTMLAudio@getActualCurrentTime.
[pettanr/clientJs.git] / 0.6.x / js / 02_dom / 06_XNodeCSS.js
index 2463840..aa34a08 100644 (file)
@@ -489,14 +489,14 @@ function X_Node_CSS_objToIEFilterText( that, opt_css, opt_cssList ){
                                 + params[ 1 ];
 
                //console.log( ow +  ' ' + oh )
-               elm.style.left = dx + 'px';
-               elm.style.top  = dy + 'px';
+               elm.style[ params[ 7 ] ] = dx + 'px'; // left or right
+               elm.style[ params[ 8 ] ] = dy + 'px'; // top  or bottom
                
                //フィルターで回転と拡大縮小を加えます。
                return 'progid:DXImageTransform.Microsoft.Matrix(' +
                                                                // 'Dx='  + dx +
                                                                //',Dy='  + dy +
-                                                               'M11=' + m11 + 
+                                                                'M11=' + m11 + 
                                                                ',M12=' + m12 + 
                                                                ',M21=' + m21 + 
                                                                ',M22=' + m22 +