顯示隨機(jī)的鏈接

代碼:

<!DOCTYPE html>

<html>

<body>

 

<%

randomize()

r=rnd()

if r>0.5 then

  response.write("<a href='http://www.slktour.com'>yapf.com!</a>")

else

  response.write("<a )

end if

%>

 

<p>

This example demonstrates a link, each time you load the page, it will display

one of two links: yapf.com! OR Refsnesdata.no! There is a 50% chance for

each of them.

</p>

 

</body>

</html>

結(jié)果:

相關(guān)文章
亚洲国产精品第一区二区,久久免费视频77,99V久久综合狠狠综合久久,国产免费久久九九免费视频