云网广告中的代码,提示出错,大家找找
程序员文章站
2023-12-14 19:15:10
复制代码 代码如下:
<img src="http://ads.cloud.com.cn//ad/20061131222251066.gif" border=0 width="468" height="60" alt="云网46860广告" align=top style=" cursor:hand;" onclick=clickto(122) id=odiv1><script>var nowframe = 1;
var maxframe =;
var bstart = 0;
function fntoggle() {
var next = nowframe + 1;
if(next == maxframe+1)
{
nowframe = maxframe;
next = 1;
}
if(bstart == 0)
{
bstart = 1;
settimeout('fntoggle()', 6000);
return;
}
else
{
otranscontainer.filters.revealtrans.transition=math.floor(math.random()*23);
otranscontainer.filters.revealtrans.apply();
document.all['odiv'+next].style.display = "";
document.all['odiv'+nowframe].style.display = "none";
otranscontainer.filters[0].play(duration=2);
if(nowframe == maxframe)
nowframe = 1;
else
nowframe++;
} settimeout('fntoggle()', 6000);
}
</script><form name=form method=post target=_blank action=''><input type=hidden name=id ><input type=hidden name=name value=reterry><input type=hidden name=colordepth ><input type=hidden name=ssize ><input type=hidden name=second_tr ><input type=hidden name=clickpc value=1990db9f66962f32148f21d6829812dd></form>
<script language="javascript" type="text/javascript">
function clickto(id)
{
document.form.action="http://ads.cloud.com.cn/tuad_show.asp?url=//www.jb51.net/index2.asp";
document.form.id.value=[id];
document.form.second_tr.value="2006-11-21 9:48:06";
document.form.ssize.value=screen.width + 'x' + screen.height;
document.form.colordepth.value=screen.colordepth;
document.form.submit();
}
</script>
复制代码 代码如下:
<img src="http://ads.cloud.com.cn//ad/20061131222251066.gif" border=0 width="468" height="60" alt="云网46860广告" align=top style=" cursor:hand;" onclick=clickto(122) id=odiv1><script>var nowframe = 1;
var maxframe =;
var bstart = 0;
function fntoggle() {
var next = nowframe + 1;
if(next == maxframe+1)
{
nowframe = maxframe;
next = 1;
}
if(bstart == 0)
{
bstart = 1;
settimeout('fntoggle()', 6000);
return;
}
else
{
otranscontainer.filters.revealtrans.transition=math.floor(math.random()*23);
otranscontainer.filters.revealtrans.apply();
document.all['odiv'+next].style.display = "";
document.all['odiv'+nowframe].style.display = "none";
otranscontainer.filters[0].play(duration=2);
if(nowframe == maxframe)
nowframe = 1;
else
nowframe++;
} settimeout('fntoggle()', 6000);
}
</script><form name=form method=post target=_blank action=''><input type=hidden name=id ><input type=hidden name=name value=reterry><input type=hidden name=colordepth ><input type=hidden name=ssize ><input type=hidden name=second_tr ><input type=hidden name=clickpc value=1990db9f66962f32148f21d6829812dd></form>
<script language="javascript" type="text/javascript">
function clickto(id)
{
document.form.action="http://ads.cloud.com.cn/tuad_show.asp?url=//www.jb51.net/index2.asp";
document.form.id.value=[id];
document.form.second_tr.value="2006-11-21 9:48:06";
document.form.ssize.value=screen.width + 'x' + screen.height;
document.form.colordepth.value=screen.colordepth;
document.form.submit();
}
</script>