我想根据滚动条滚动来加载百度广告,
但是百度的广告在文档载入完成后调用就会出问题。
有没有人做过类似的,有没有解决方法?
正常的百度广告代码:
<code>(function() {
var s = "_" + Math.random().toString(36).slice(2);
document.write('<div id="' + s + '"></div>');
(window.slotbydup=window.slotbydup || []).push({
id: '1232323',
container: s,
size: '728,90',
display: 'inlay-fix'
});
})();
</code>然而我想
立即学习“Java免费学习笔记(深入)”;
<code>$(function(){
function test()
{
var s = "_" + Math.random().toString(36).slice(2);
document.write('<div id="' + s + '"></div>');
(window.slotbydup=window.slotbydup || []).push({
id: '1232323',
container: s,
size: '728,90',
display: 'inlay-fix'
});
}
test();//某个操作会调用test
});
</code>这样子调用就行,有没有办法解决的
我想根据滚动条滚动来加载百度广告,
但是百度的广告在文档载入完成后调用就会出问题。
有没有人做过类似的,有没有解决方法?
正常的百度广告代码:
<code>(function() {
var s = "_" + Math.random().toString(36).slice(2);
document.write('<div id="' + s + '"></div>');
(window.slotbydup=window.slotbydup || []).push({
id: '1232323',
container: s,
size: '728,90',
display: 'inlay-fix'
});
})();
</code>然而我想
立即学习“Java免费学习笔记(深入)”;
<code>$(function(){
function test()
{
var s = "_" + Math.random().toString(36).slice(2);
document.write('<div id="' + s + '"></div>');
(window.slotbydup=window.slotbydup || []).push({
id: '1232323',
container: s,
size: '728,90',
display: 'inlay-fix'
});
}
test();//某个操作会调用test
});
</code>这样子调用就行,有没有办法解决的
java怎么学习?java怎么入门?java在哪学?java怎么学才快?不用担心,这里为大家提供了java速学教程(入门到精通),有需要的小伙伴保存下载就能学习啦!
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号