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,源码c app源码下载 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源码下载页源码参考资料里去看一下,其实这个就是源码源码分享源码站论坛要用代码实现的,只是源码资产管理网站源码源码代码好象有点长了点