‘) .find (‘. Onet-ad ‘). Each (processit);
return ids;
processit function (key, item) {
var id = jQuery (item) .attr ( ‘id’);
var = slotName getSlotName (id);
if (slotName! == null)
ids.push (slotName);
}
getSlotName function (id) {
if (typeof (d) === ‘string’ & amp; & amp; id.length & gt; 8 & amp; & amp; id.substr (0, 8) === ‘onetime-blockers’)
return id.substr (8);
return null;
}
}
showHeaderAndFooter function () {
var extraAdsBlock = jQuery ( ‘# extraAdsBlock’);
extraAdsBlock.find ( ‘. ad_adInfo.asideTitle’). show ();
extraAdsBlock.find ( ‘. ad_adInfoEnd’). show ();
}
}
} ());
The end of the advertising block
No comments:
Post a Comment