每刷新一次就换一次图片的代码

类别:Asp 点击:0 评论:0 推荐:

<%
Randomize
picz=int(Rnd*10)
%>

<%
Select case picz
case 0
response.redirect("http://www.avl.com.cn/life/sheying123/fashion040827/images/10.jpg")
case 1
response.redirect("http://www.avl.com.cn/life/sheying123/fashion040827/images/11.jpg")
case 2
response.redirect("http://www.avl.com.cn/life/sheying123/fashion040827/images/12.jpg")
case 3
response.redirect("http://www.avl.com.cn/life/sheying123/fashion040827/images/13.jpg")
case 4
response.redirect("http://www.avl.com.cn/life/sheying123/fashion040827/images/14.jpg")
case 5
response.redirect("http://www.avl.com.cn/life/sheying123/fashion040827/images/15.jpg")
case 6
response.redirect("http://www.avl.com.cn/life/sheying123/fashion040827/images/16.jpg")
case 7
response.redirect("http://www.avl.com.cn/life/sheying123/fashion040827/images/17.jpg")
case 8
response.redirect("http://www.avl.com.cn/life/sheying123/fashion040827/images/18.jpg")
case 9
response.redirect("http://www.avl.com.cn/life/sheying123/fashion040827/images/19.jpg")
End Select
%>

本文地址:http://com.8s8s.com/it/it8506.htm