以下是代码片段: <html>
</head>
<body> 刷新看看<br> <script language="JavaScript"> <!-- Hide var a = Math.random() + "" var rand1 = a.charAt(5) quotes = new Array <!-- 修改下面的文字为你需要的文字--> quotes[1] = '文本内容1' quotes[2] = '文本内容2' quotes[3] = '文本内容3' quotes[4] = '文本内容4' quotes[5] = '文本内容5' quotes[6] = '文本内容6' quotes[7] = '文本内容7' quotes[8] = '文本内容8' quotes[9] = '文本内容9' quotes[0] = '文本内容10' var quote = quotes[rand1] //--> </script> <script language="JavaScript"> <!-- Hide document.write(quote) // --> </script>
</body>
</html>
|