window.onresize = baiduResizeDiv;
window.onerror = function(){}
var divTop,divLeft,divWidth,divHeight,docHeight,docWidth,objTimer,i = 0;
var px = document.doctype?"px":0;
var scrollwidth = navigator.userAgent.indexOf("Firefox")>0?16:0;
var iframeheight = navigator.userAgent.indexOf("MSIE")>0?170-2:209-2;
String.prototype.Trim = function(){return this.replace(/^s |s $/g,"");}
function baidu_collapse(obj){
ct = document.getElementById( 'tab_c_iframe');
if(ct.style.display=="없음"){
ct.style.display="";
obj.src=obj.src.replace("b.gif","a.gif");
} else {
ct.style.display="없음";
obj.src=obj.src.replace("a.gif","b.gif");
}
baiduResizeDiv();
}
function baiduMsg()
{
try{
divTop =parseInt(document.getElementById("eMeng").style.top,10);
divLeft = parsInt(document.getElementById("eMeng").style.left,10);
divHeight =parseInt(document.getElementById("eMeng").offsetHeight,10);
divWidth = parsInt(document.getElementById("eMeng").offsetWidth,10);
var scrollPosTop,scrollPosLeft,docWidth,docHeight;
if (window.pageYOffset 유형 != '정의되지 않음') {
scrollPosTop = window.pageYOffset;
scrollPosLeft = window.pageXOffset;
docWidth = window.innerWidth;
docHeight = window.innerHeight;
} else if (typeof document.compatMode != '정의되지 않음' && document.compatMode != 'BackCompat') {
scrollPosTop = document.documentElement.scrollTop;
scrollPosLeft = document.documentElement.scrollLeft;
docWidth = document.documentElement.clientWidth;
docHeight = document.documentElement.clientHeight;
} else if (typeof document.body != 'undefine') {
scrollPosTop = document.body.scrollTop;
scrollPosLeft = document.body.scrollLeft;
docWidth = document.body.clientWidth;
docHeight = document.body.clientHeight;
}
document.getElementById("eMeng").style.top =parseInt(scrollPosTop,10) docHeight 10px;// divHeight
document.getElementById("eMeng").style. 왼쪽 = parsInt(scrollPosLeft,10) docWidth - divWidth - 스크롤 너비 px;
document.getElementById("eMeng").style.visibility="visible";
objTimer = window.setInterval("baidu_move_div()",10);
}catch(e){}
}
function baiduResizeDiv()
{
i =1;
시도{
divHeight =parseInt(document.getElementById("eMeng").offsetHeight,10);
divWidth = parsInt(document.getElementById("eMeng").offsetWidth,10);
var scrollPosTop,scrollPosLeft,docWidth,docHeight;
if (window.pageYOffset 유형 != '정의되지 않음') {
scrollPosTop = window.pageYOffset;
scrollPosLeft = window.pageXOffset;
docWidth = window.innerWidth;
docHeight = window.innerHeight;
} else if (typeof document.compatMode != '정의되지 않음' && document.compatMode != 'BackCompat') {
scrollPosTop = document.documentElement.scrollTop;
scrollPosLeft = document.documentElement.scrollLeft;
docWidth = document.documentElement.clientWidth;
docHeight = document.documentElement.clientHeight;
} else if (typeof document.body != 'undefine') {
scrollPosTop = document.body.scrollTop;
scrollPosLeft = document.body.scrollLeft;
docWidth = document.body.clientWidth;
docHeight = document.body.clientHeight;
}
document.getElementById("eMeng").style.top = docHeight - divHeight parseInt(scrollPosTop,10) px;
document.getElementById("eMeng").style.left = docWidth - divWidth parseInt(scrollPosLeft,10) - 스크롤 너비 px;
}catch(e){}
}
function baidu_move_div()
{
var scrollPosTop,scrollPosLeft,docWidth,docHeight;
if (window.pageYOffset 유형 != '정의되지 않음') {
scrollPosTop = window.pageYOffset;
scrollPosLeft = window.pageXOffset;
docWidth = window.innerWidth;
docHeight = window.innerHeight;
} else if (typeof document.compatMode != '정의되지 않음' && document.compatMode != 'BackCompat') {
scrollPosTop = document.documentElement.scrollTop;
scrollPosLeft = document.documentElement.scrollLeft;
docWidth = document.documentElement.clientWidth;
docHeight = document.documentElement.clientHeight;
} else if (typeof document.body != 'undefine') {
scrollPosTop = document.body.scrollTop;
scrollPosLeft = document.body.scrollLeft;
docWidth = document.body.clientWidth;
docHeight = document.body.clientHeight;
}
시도{
if(parseInt(document.getElementById("eMeng").style.top,10) <= (docHeight - divHeight parseInt(scrollPosTop,10)))
{
window.clearInterval(objTimer);objTimer = window.setInterval("baiduResizeDiv()",1);
}
divTop = parsInt(document.getElementById("eMeng").style.top,10);
document.getElementById("eMeng").style.top = divTop - 1px;
}잡기(e){}
}
function baiduMessbox(shape,color,userid){
var styles='position:absolute;top:0px;left:0px;z-index:99999;visibility:hidden;';
var copic='
';
if(shape>1) window.onload = baiduMsg;
else {styles='';copic=''}
var s;
if(shape==2) {
s='
'
+ '
'
+''
+' | '
+'
'
+' '
+' ' +' | '
+'
'
+''
+''
+''
+''
+''
+ '
'
+ '
'
+'
'
+'
';
} else if(shape==3) {
s='
'
'
'
''
' 留言板' 복사 ' |
'
''
'테이블>'
''
'';
}
document.writeln(s);
}
baiduMessbox(2,1, 849620);
본 웹사이트의 성명
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.
저자별 최신 기사
-
2024-10-22 09:46:29
-
2024-10-13 13:53:41
-
2024-10-12 12:15:51
-
2024-10-11 22:47:31
-
2024-10-11 19:36:51
-
2024-10-11 15:50:41
-
2024-10-11 15:07:41
-
2024-10-11 14:21:21
-
2024-10-11 12:59:11
-
2024-10-11 12:17:31