87,910
社区成员
发帖
与我相关
我的任务
分享
var l_items_width = 0;
l_items_width += this.parentNode.parentNode.offsetWidth;
context.nav.find('.ad-thumb-list').css('width', l_items_width + 'px');
var l_items_width = 0;
l_items_width += this.parentNode.parentNode.offsetWidth;
context.nav.find('.ad-thumb-list').css('width', l_items_width + 'px');
l_items_width += this.parentNode.parentNode.offsetWidth;
function getWindowSize() {
if (self.innerHeight) { // WEBKIT
return { 'width':self.innerWidth, 'height':self.innerHeight };
} else if (document.documentElement && document.documentElement.clientHeight) { // IE standards 模式
return {
'width' :document.documentElement.clientWidth,
'height':document.documentElement.clientHeight
};
} else if (document.body) { // IE quirks 模式
return {
'width' :document.body.clientWidth,
'height':document.body.clientHeight
};
}
}