1.那种刷新一下页面就会变的源码是怎么弄的?有高手的话告诉一下啊~谢谢了
那种刷新一下页面就会变的是怎么弄的?有高手的话告诉一下啊~谢谢了
你用如下的代码试下,也就可以分析得出了
<SCRIPT language="JavaScript"><!--
today=new Date();
jran=today.getTime();
function rnd() {
ia=;
ic=;
im=;
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(3));
//please adjust the number here,源码unitysrpg游戏源码 the number "3" mean three pieces.
if(myNum == 1) document.write("<img src="/\'images/ok/1.gif"\'>");
if(myNum == 2) document.write("<img src="/\'images/ok/2.gif"\'>");
if(myNum == 3) document.write("<img src="/\'images/ok/3.gif"\'>");
if(myNum == 4) document.write("<img src="/\'images/ok/4.gif"\'>");
if(myNum == 5) document.write("<img src="/\'images/ok/5.gif"\'>");
if(myNum == 6) document.write("<img src="/\'images/ok/6.gif"\'>");
if(myNum == 7) document.write("<img src="/\'images/ok/7.gif"\'>");
if(myNum == 8) document.write("<img src="/\'images/ok/8.gif"\'>");
if(myNum == 9) document.write("<img src="/\'images/ok/9.gif"\'>");
if(myNum == ) document.write("<img src="/\'images/ok/.gif"\'>");
if(myNum == ) document.write("<img src="/\'images/ok/.gif"\'>");
if(myNum == ) document.write("<img src="/\'images/ok/.gif"\'>");
if(myNum == ) document.write("<img src="/\'images/ok/.gif"\'>");
if(myNum == ) document.write("<img src="/\'images/ok/.gif"\'>");
if(myNum == ) document.write("<img src="/\'images/ok/.gif"\'>");
if(myNum == ) document.write("<img src="/\'images/ok/.gif"\'>");
if(myNum == ) document.write("<img src="/\'images/ok/.gif"\'>");
if(myNum == ) document.write("<img src="/\'images/ok/.gif"\'>");
if(myNum == ) document.write("<img src="/\'images/ok/.gif"\'>");
if(myNum == ) document.write("<img src="/\'images/ok/.gif"\'>");
if(myNum == ) document.write("<img src="/\'images/ok/.gif"\'>");
if(myNum == ) document.write("<img src="/\'images/ok/.gif"\'>");
if(myNum == ) document.write("<img src="/\'images/ok/.gif"\'>");
if(myNum == ) document.write("<img src="/\'images/ok/.gif"\'>");
if(myNum == ) document.write("<img src="/\'images/ok/.gif"\'>");
if(myNum == ) document.write("<img src="/\'images/ok/.gif"\'>");
if(myNum == ) document.write("<img src="/\'images/ok/.gif"\'>");
if(myNum == ) document.write("<img src="/\'images/ok/.gif"\'>");
if(myNum == ) document.write("<img src="/\'images/ok/.gif"\'>");
if(myNum == ) document.write("<img src="/\'images/ok/.gif"\'>");
if(myNum == ) document.write("<img src="/\'images/ok/.gif"\'>");
if(myNum == ) document.write("<img src="/\'images/ok/.gif"\'>");
if(myNum == ) document.write("<img src="/\'images/ok/.gif"\'>");
//Add or Remove above sentences up to the pieces of BANNER. Something behind “src” is the save location of BANNER.
else {
document.write();
}
};
document.write("</CENTER>");
//-->
</SCRIPT>
这样吧,你到下面的源码打地鼠 安卓源码参考资料里去看一下,其实这个就是源码html小游戏源码下载要用代码实现的,只是源码java 微商城 源码下载代码好象有点长了点
2024-11-30 00:53
2024-11-30 00:33
2024-11-30 00:33
2024-11-30 00:27
2024-11-29 23:28
2024-11-29 22:32