有什么问题请到<a href='/bbs/forums.php?fid=21'>论坛</a>中发表<br>
<!-- http://www.webjx.com/ -->
<!-- http://bbs.webjx.com -->
<!--脚本说明:
把如下代码加入<body>区域中-->
<SCRIPT language="JavaScript">
<!--
today=new Date();
jran=today.getTime();
function rnd() {
ia=9301;
ic=49297;
im=233280;
jran = (jran*ia+ic) % im;
return jran/(im*1.0);
};
function rand(number) {
return Math.ceil(rnd()*number);
};
document.write("<CENTER>");
for(i=1;i<=1;i++) {
myNum=(rand(6)); //改成你要随机显示的图片数;
if(myNum == 1) document.write("<img src='http://www.webjx.com/images/logo.gif'>");
if(myNum == 2) document.write("<img src='http://www.webjx.com/images/geren.jpg'>"); //图片路径,可用http://
if(myNum == 3) document.write("<img src='http://www.webjx.com/images/468_60.gif'>");
if(myNum == 4) document.write("<img src='http://www.webjx.com/images/shangye.jpg'>");
if(myNum == 5) document.write("<img src='http://www.webjx.com/images/qiye.jpg'>");
if(myNum == 6) document.write("<img src='http://www.webjx.com/images/host.jpg'>");
else {
document.write();
}
};
document.write("</CENTER>");
//-->
</SCRIPT>
[Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]