设计学院-ui163 致力于网页标准 网页设计 web标准与ui设计。

随机显示广告代码

上一篇上一篇 | 下一篇下一篇发表时间:2007-10-29 21:45:38
<SCRIPT LANGUAGE="JavaScript">
<!--
shu =7

ad1='<br>'

//////// 广告内容

theAds = new Array();

theAds[1] = "广告代码1";
theAds[2] = "广告代码2";
theAds[3] = "广告代码3";
theAds[4] = "广告代码4";
theAds[5] = "广告代码5";
theAds[6] = "广告代码6";
theAds[7] = "广告代码7";

sx = parseInt(Math.random() * shu + 1);
document.write(ad1+theAds[sx]);
--></SCRIPT>
[本日志由 ui163 于 2007-10-29 21:45:38 编辑]
上一篇上一篇:关于DOM事件模型的两件事
下一篇下一篇:凸显个性 网页右键菜单我作主
文章来自:设计学院
收藏到网摘: 收藏到QQ书签
Tags:

版权隐私 ┊ 免责声明  ┊ 友情链接 ┊ 网站地图  ┊ 联系我们

Copyrights©2006 UI163.com All Rights Reserved 2007

 豫ICP备07501346号