向高手请教
function _CPopupRenderer_Display(szType) {//定义的一个POPUP框的显示函数即当其显示时的处理过程var oRenderer, szCacheKey = "PopupRenderer." + szType
oRenderer = g_state.aCache[szCacheKey]//在开始初始化时定义的对象aCache和全局变量g_state
if (oRenderer.autoSize) {//?????
idPopup.document.all.puRegion.style.pixelHeight = document.all.idPopup.style.pixelHeight = idPopup.document.all.puRegion.offsetHeight//??????
idPopup.document.all.puRegion.style.pixelWidth = document.all.idPopup.style.pixelWidth = idPopup.document.all.puRegion.offsetWidth + 50/?????
document.all.idPopup.style.pixelLeft = (document.body.clientWidth - idPopup.document.all.puRegion.offsetWidth) / 2
}
else {
idPopup.document.all.puRegion.style.pixelHeight = document.all.idPopup.style.pixelHeight = document.body.clientHeight - idToolbar.offsetHeight-20 //????
idPopup.document.all.puRegion.style.pixelWidth = document.all.idPopup.style.pixelWidth = document.body.clientWidth - 50
document.all.idPopup.style.pixelLeft = 25//?????
}
document.all.idPopup.style.zIndex=2//????
idPopup.document._show = true
idPopup.focus()
}
主要是带问号处,及这个功能函数的大体思路,可以给再说一下吗?谢谢了啊