【发布时间】:2015-01-29 13:58:47
【问题描述】:
我想获取页面高度的信息,然后将 adsense 放在仅超过 2400 像素的页面上。如果您能给我任何线索,将不胜感激!
<script>
var height = $(document).height();
if (document > 2400 ) {
echo '<!--adsense code-->';
}
</script>
【问题讨论】:
标签: jquery height document adsense