vml_parent.document.ieCSS3_stylesheet.ie7 = true;
}
}
function updatePositionAndSize() {
if (typeof(window.ieCSS3.vmlified_elements) != ’object’) { return(false); }
for (var i in window.ieCSS3.vmlified_elements) {
var el = window.ieCSS3.vmlified_elements[i];
if (typeof(el.vml) != ’object’) { continue; }
for (var z in el.vml) {
//var parent_pos = findPos(el.vml[z].parentNode);
var new_pos = findPos(el);
new_pos.x = (new_pos.xel.vml[z].position_offset.x)’px’;
new_pos.y = (new_pos.yel.vml[z].position_offset.y)’px’;
if (el.vml[z].style.left != new_pos.x) { el.vml[z].style.left = new_pos.x; }
if (el.vml[z].style.top != new_pos.y) { el.vml[z].style.top = new_pos.y; }
var new_size = {
’width’: parseInt(el.offsetWidthel.vml[z].size_offset.width),
’height’: parseInt(el.offsetHeightel.vml[z].size_offset.height)
}
if (el.vml[z].offsetWidth != new_size.width) { el.vml[z].style.width = new_size.width’px’; }
if (el.vml[z].offsetHeight != new_size.height) { el.vml[z].style.height = new_size.height’px’; }
}
}
if (event(event.type == ’resize’)typeof(window.ieCSS3.previous_onresize) == ’function’) { window.ieCSS3.previous_onresize(); }
}
/script
推荐阅读
- Mac注意事项模板1
- 腾讯地图APP删除已经下载离线地图的方法步骤
- Mac注意事项模板2
- Mac注意事项模板3
- 修改隐藏L7下方的横条
- ie-css3.htc 让IE6, 7, and 8也支持box-shadow
- IE6、IE7、IE8浏览器下的CSS、JS兼容性对比
- 汽车一键启动要按几下
- 针对IE8正式版的CSS hack
- 部分 IE Firefox在css中的差别