![]() |
#2
冰镇柠檬汁儿2015-06-09 20:47
|

<script language="JavaScript">
<!-- Hide
var iFirstValue=1; //起始数字
var iLastValue =5;//结束数字
var iChoices = iLastValue - iFirstValue + 1;
var rand1 = Math.floor(Math.random() * iChoices + iFirstValue);
document.write(rand1);
quotes = new Array
<!-- 修改下面的文字为你需要的文字-->
quotes[1] = '文本内容1'
quotes[2] = '文本内容2'
quotes[3] = '文本内容3'
quotes[4] = '文本内容4'
quotes[5] = '文本内容5'
var quote = quotes[rand1]
//-->
</script>
<!-- Hide
var iFirstValue=1; //起始数字
var iLastValue =5;//结束数字
var iChoices = iLastValue - iFirstValue + 1;
var rand1 = Math.floor(Math.random() * iChoices + iFirstValue);
document.write(rand1);
quotes = new Array
<!-- 修改下面的文字为你需要的文字-->
quotes[1] = '文本内容1'
quotes[2] = '文本内容2'
quotes[3] = '文本内容3'
quotes[4] = '文本内容4'
quotes[5] = '文本内容5'
var quote = quotes[rand1]
//-->
</script>
怎么才能打开网站 第一次是1 第2次是2 第3次3 依次。。。
求助代码 谢谢了