?? resizepage.js
字號(hào):
// JavaScript Document for resize parent page
function resizeParentPage(iframeId){
try{
if (window.navigator.userAgent.indexOf("MSIE")>=1) { //IE
parent.document.getElementById(iframeId).style.width=document.body.scrollWidth;
parent.document.getElementById(iframeId).style.height=document.body.scrollHeight + 10;
}else if (window.navigator.userAgent.indexOf("fox")>=1) { //firefox
parent.document.getElementById(iframeId).width=document.body.scrollWidth;
parent.document.getElementById(iframeId).height=document.body.scrollHeight + 10;
}
}catch(e){}
}
function resizePage(iframeId){
try{
if (window.navigator.userAgent.indexOf("MSIE")>=1) { //IE
document.getElementById(iframeId).style.width=document.body.scrollWidth;
document.getElementById(iframeId).style.height=document.body.scrollHeight;
}else if (window.navigator.userAgent.indexOf("fox")>=1) { //firefox
document.getElementById(iframeId).width=document.body.scrollWidth;
document.getElementById(iframeId).height=document.body.scrollHeigh;
}
}catch(e){}
}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -