js|随机|网页说明:下面第一行中的4是网页数量,自己看着办吧
<SCRIPT Language="JavaScript">
tips = new Array(4);
tips[0] = "1.htm";
tips[1] = "2.htm";
tips[2] = "3.htm";
tips[3] = "4.htm";
index = Math.floor(Math.random() * tips.length);
document.write("<iframe frameborder=0 src=" + tips[index] + " width=468 height=60 scrolling=no></iframe>");
</SCRIPT>
一个随机调用<Iframe>框架网页的JS代码
80酷酷网 80kuku.com