当前位置: 首页 > 图文教程 > 网络编程 > Javascript > 云网广告中的代码,提示出错,大家找找

Javascript
Add a Table to a Word Document
Add Formatted Text to a Word Document
用jscript实现新建word文档
用jscript实现新建和保存一个word文档
Open and Print a Word Document
Use Word to Search for Files
Convert Seconds To Hours
Sample script that deletes a SQL Server database
Sample script that displays all of the users in a given SQL Server DB
firefox中用javascript实现鼠标位置的定位
div+css实现鼠标放上去,背景跟图片都会变化。
Locate a File Using a File Open Dialog Box
Save a File Using a File Save Dialog Box
用jscript实现列出安装的软件列表
List the Stored Procedures in a SQL Server database
Display SQL Server Login Mode
Display SQL Server Version Information
List all the Databases on a SQL Server
用jscript启动sqlserver
Stop SQL Server

Javascript 中的 云网广告中的代码,提示出错,大家找找


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-09-12   浏览: 199 ::
收藏到网摘: n/a

复制代码 代码如下:

<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=http://www.ruanchen.com/";
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>