总是提示:window.dzad16 is undefined
var time_out = 3000;
function log_start()
{
window.dzad16.style.visibility="visible";
window.setTimeout( "real_log_start()", time_out );
return false;
}
function real_log_start()
{
window.dzad16.style.display="none";
}
window.onload=log_start();
document.write("<div class=dzad id=dzad16 style=width:650px;height:450px;float=left>");
document.write("<div class=dzad_1 style=position:absolute;z-index:0>");
document.write("<a href=http://127.0.0.1/ad/xhad/Reurl.php?id=16&url=http://www.microsoft.com/china target=_blank><img src=http://127.0.0.1/ad/xhad/Images/kong.gif width=650 height=450 border=0></a></div>");
document.write("<img src=http://127.0.0.1/ad/xhad/Upfiles/46c705ef6d961433c7f5db5fec46e976.jpg width='650' height='450' alt=图片>");
document.write("</div>");
var time_out = 3000;
function log_start()
{
window.dzad16.style.visibility="visible";
window.setTimeout( "real_log_start()", time_out );
return false;
}
function real_log_start()
{
window.dzad16.style.display="none";
}
window.onload=log_start();
document.write("<div class=dzad id=dzad16 style=width:650px;height:450px;float=left>");
document.write("<div class=dzad_1 style=position:absolute;z-index:0>");
document.write("<a href=http://127.0.0.1/ad/xhad/Reurl.php?id=16&url=http://www.microsoft.com/china target=_blank><img src=http://127.0.0.1/ad/xhad/Images/kong.gif width=650 height=450 border=0></a></div>");
document.write("<img src=http://127.0.0.1/ad/xhad/Upfiles/46c705ef6d961433c7f5db5fec46e976.jpg width='650' height='450' alt=图片>");
document.write("</div>");
解决方案 »
- 散分,庆祝大小3K的万能JQuery弹出层类库建成(欢迎指正错误)
- 全站简繁体转换js代码
- 怎么我这个取到的link都是underfine的?
- 为什么用jquery的ajax接收action传值影响页面显示
- 用javascript可以实现图片的连续移动,而且不会留空白,但是图片大小,怎么弄呢?
- 求救,javascript操作table
- 关于数据选择的问题
- 类似confirm弹出窗口的问题
- 谁有打开网时间,图片由模糊慢慢变清晰了的代码??在此先谢了!!
- 已知直线起始 A点和结束B点坐标,求线上的N个坐标点
- javascript 实现开关按钮
- 用ie不出结果!没分了高手救命!用jquery插件画图把横坐标换成时间的话,没分了高手救命
用document.getElementById('dzad16')代替里面的window.dzad16吧。
另,所有的window对象的方法window都可以省略。
==》
window.onload=log_start;
==>
document.getElementById("dzad16").style.visibility="visible";
document.write("<div class=dzad_1 style=position:absolute;z-index:0>");
document.write("<a href=http://127.0.0.1/ad/xhad/Reurl.php?id=16&url=http://www.microsoft.com/china target=_blank><img src=http://127.0.0.1/ad/xhad/Images/kong.gif width=650 height=450 border=0></a></div>");
document.write("<img src=http://127.0.0.1/ad/xhad/Upfiles/46c705ef6d961433c7f5db5fec46e976.jpg width='650' height='450' alt=图片>");
document.write("</div>");
var time_out = 3000;
function log_start()
{
window.dzad16.style.visibility="visible";
window.setTimeout( "real_log_start()", time_out );
return false;
}
function real_log_start()
{
window.dzad16.style.display="none";
}
window.onload=log_start();