Authored by 於志远

广告曝光代码

... ... @@ -79,29 +79,6 @@
</div>
{{/ contentWithAll}}
</div>
<div id="div-adv-iframe" style="display:none"></div>
<script type="text/javascript">
function createIframe() {
var i = document.createElement("iframe");
var timestamp = new Date().getTime();
// 0916号10点1442368800000 - 16号18点 1442397600000 GIRL首页焦点图
if (timestamp > 1442368800000 && timestamp <= 1442397600000) {
i.src="http://ad.yoho.cn/yoho/Yoho_Ad20150828_2.html";
}
i.scrolling="no"; i.frameborder="0"; i.width="0"; i.height="0";
document.getElementById("div-adv-iframe").appendChild(i);
};
if (window.addEventListener) {
window.addEventListener("load", createIframe, false);
} else if (window.attachEvent) {
window.attachEvent("onload", createIframe);
} else {
window.onload = createIframe;
}
</script>
<!--广告曝光代码开始-->
<div id="div-adv-iframe" style="display:none"></div>
<script type="text/javascript">
... ...
... ... @@ -77,28 +77,6 @@
</div>
{{/ contentWithAll}}
</div>
<div id="div-adv-iframe" style="display:none"></div>
<script type="text/javascript">
function createIframe() {
var i = document.createElement("iframe");
var timestamp = new Date().getTime();
// 0916号10点1442368800000 - 16号18点 1442397600000 GIRL首页焦点图
if (timestamp > 1442368800000 && timestamp <= 1442397600000) {
i.src="http://ad.yoho.cn/yoho/Yoho_Ad20150828_2.html";
}
i.scrolling="no"; i.frameborder="0"; i.width="0"; i.height="0";
document.getElementById("div-adv-iframe").appendChild(i);
};
if (window.addEventListener) {
window.addEventListener("load", createIframe, false);
} else if (window.attachEvent) {
window.attachEvent("onload", createIframe);
} else {
window.onload = createIframe;
}
</script>
<!--广告曝光代码开始-->
<div id="div-adv-iframe" style="display:none"></div>
... ...