标题:向高手请教
取消只看楼主
caolf2006
Rank: 1
等 级:新手上路
帖 子:33
专家分:0
注 册:2005-12-5
 问题点数:0 回复次数:0 
向高手请教
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()
}
主要是带问号处,及这个功能函数的大体思路,可以给再说一下吗?谢谢了啊
搜索更多相关主题的帖子: function 
2005-12-09 09:53



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-37426-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.748861 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved