최근의 수요는 브라우저의 호환성을 포함합니다.
홈페이지는 프레임 세트를 두 페이지로 사용하고 왼쪽은 메뉴 막대이며 프레임 세트의 콜을 변경하여 계약 할 수 있습니다. 다른 브라우저는 정상이지만 IE10에는 반응이 없습니다.
다음과 같이 코드 코드를 복사하십시오.
함수 hide_show () {
if (window.parent.outer_frame.cols == "0,10,*") {
frameshow.src = "<%= request.getContextPath ()%>/common/images/left_handle.gif";
div_hide_show.tital = "Hidden"
Window.parent.outer_frame.cols = "210, 10,*";
} 또 다른 {
frameshow.src = "<%= request.getContextPath ()%>/common/images/right_handle.gif";
div_hide_show.tital = "display"
Window.parent.outer_frame.cols = "0,10,*";
}
}
대체 할 수없는 효과를 설정하고 행을 설정하면 IE10의 버그 문제로 인한 것입니다. 페이지 크기를 조정해야합니다.
다음과 같이 코드 코드를 복사하십시오.
함수 hide_show () {
if (window.parent.outer_frame.cols == "0,10,*") {
frameshow.src = "<%= request.getContextPath ()%>/common/images/left_handle.gif";
div_hide_show.tital = "Hidden"
Window.parent.outer_frame.cols = "210, 10,*";
} 또 다른 {
frameshow.src = "<%= request.getContextPath ()%>/common/images/right_handle.gif";
div_hide_show.tital = "display"
Window.parent.outer_frame.cols = "0,10,*";
}
/*강제 IE10 REDRAW*/
if (navigator.useragent.indexof ( 'msie 10.0')! = -1) {
var w = paint.document.body.clientWidth;
parent.document.body.style.width = w + 1 + 'px';
settimeout (function () {
parent.document.body.style.width = w -1 + 'px';
parent.document.body.style.width = 'auto';
}, 0);
}
}