中文(简体)
<!-- http://js.downcodes.com/ --> <!-- http://bbs.downcodes.com/--> <!-- Default:Specific:SpecificSpecifySymbols< body>Household--> <center> <SCRIPT LANGUAGE="JavaScript"> <!-- 开始 var rand1 = 0; var useRand = 0;图像=新数组;图像[1] = 新图像();图片[1].src = "/img/200406301.jpg";图像[2] = 新图像();图片[2].src = "/img/200406302.jpg";图像[3] = 新图像();图片[3].src = "/img/200406303.jpg";图像[4] = 新图像();图片[4].src = "/img/200406304.jpg";函数 swapPic() { var imgnum = images.length - 1;做 { var randomnum = Math.random(); rand1 = Math.round((imgnum -- 1) * randnum) + 1; while ( rand1 == useRand ); useRand = 兰特1; document.randimg.src = images[useRand].src; } // 结束 --> </script> <a onClick="swapPic();"><img name="randimg" src="/img/200406301.jpg" tppabs=""></a><br > <font face="Verdana" size="-2">点击图片进行更改</font> </center> <!