• 首页
  • 上一页
  • 目录
  • 下一页
  • 书架

《总裁的爱宠》

第四十三章,亲戚(四)

    // 顶部网盟广告 -- 从元素高度判断

    if (xt('ads_log_toprequest')) {

    if ($('.left-top-ads').height() == 0

    || $('.left-top-ads').idth() == 0) {

    is_topads_truely_sho = 0;

    } else {

    is_topads_truely_sho = 1;

    }

    } else {

    is_topads_truely_sho = 0;

    }

    // 底部为你推荐网盟广告 -- 从iframe判断

    if (xt('ads_log_bottomrequest')) {

    if ($('.gt-bottom-union').find('iframe').size() == 0) {

    is_bottomangmeng_truely_sho = 0;

    } else {

    is_bottomangmeng_truely_sho = 1;

    }

    } else {

    is_bottomangmeng_truely_sho = 0;

    }

    // 同步凤巢广告 -- 从元素高度判断

    if (xt('ads_log_leftdon')) {

    if ($('#qbleftdon-container').height() == 0

    || $('#qbleftdon-container').idth() == 0) {

    is_leftads_truely_sho = 0;

    } else {

    is_leftads_truely_sho = 1;

    }

    } else {

    is_leftads_truely_sho = 0;

    }

    // 同步右侧广告,看是否存在dom以及是否展示

    if (xt('ads_log_right')) {

    if ($('.idget-sma').height() == 0

    || $('.idget-sma').idth() == 0) {

    is_rightads_truely_sho = 0;

    } else {

    is_rightads_truely_sho = 1;

    }

    } else {

    is_rightads_truely_sho = 0;

    }

    // 得到浏览器信息

    function getBroserType() {

    if (.toLoerCase().indexOf('se 2.x')>-1) {

    return 'Sougo';

    } else if (.toLoerCase().indexOf('maxthon')>-1) {

    return 'maxthon';

    } else if (.toLoerCase().indexOf('qqbroser')>-1) {


    -->>(第23/25页)(本章未完,请点击下一页继续阅读)
  • 加入书签
  • 上一页
  • 目录
  • 下一页
Copyright shukugu.com 返回首页
顶部