Skip to content

리로드할때마다 바뀌는 그림

MintState October 29, 2008 at 8:38 PM Views 11775

리로드할때마다 바뀌는 그림

<img src="./img/toy_0.jpg" width="371" height="267" name="ranimage" border="0"> 
<script language="JavaScript1.1"> 
<!-- 
document.ranimage.src="./img/toy_"+Math.round(Math.random()*3+.4)+".jpg"; 
// --> 
</script> 
<!--설명... 그림이 4개있을 때는 숫자를 3+.4) 이런 식으로 바꾸어 주시길-->
Share X Facebook LINE QR code

0 comments

Be the first to comment.