账号管理IE兼容问题
This commit is contained in:
parent
ef397821d0
commit
b59a83a2ed
@ -325,7 +325,8 @@ AsControl.switchDiv = function(sTargetWindow) {
|
||||
}
|
||||
var doc = frame.document;
|
||||
if(!doc || !doc.body) return;
|
||||
if($("#switch_page_mask", doc).length == 1) return;
|
||||
//if($("#switch_page_mask", doc).length == 1) return;
|
||||
if(document.getElementById("#switch_page_mask") != null) return;
|
||||
var width = Math.max(doc.body.scrollWidth, doc.documentElement.scrollWidth);//-20;
|
||||
var height = Math.max(doc.body.scrollHeight, doc.documentElement.scrollHeight);//-20;
|
||||
var board = $("<div id='switch_page_mask' style='position:absolute;left:0;top:0;width:"+width+"px;height:"+height+"px;text-align:center;z-index:9999;'>"+
|
||||
|
||||
@ -301,6 +301,9 @@ function imageAppearance(currentIndex) {
|
||||
}
|
||||
|
||||
function drawMenu() {
|
||||
if(left.document == null) {
|
||||
left.document = left.contentDocument ? left.contentDocument : left.ownerDocument;
|
||||
}
|
||||
drawMenu2(left.document);
|
||||
$(function(){
|
||||
if(typeof window.keydownAction != "function") return;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user