获取外部css属性.txt

来源:互联网 发布:移动商城源码 编辑:程序博客网 时间:2024/05/22 13:39
var obj=document.getElementById('div_overlay');
            obj.currentStyle?obj.currentStyle.position:document.defaultView.getComputedStyle(obj,false).position;
            obj.style.dispaly='none';
            obj.style.position='static';