YesYo.com MintState Forums
뒤로    YesYo.com MintState BBS > Tech > Javascript
검색
멤버이름    오토
비밀번호 
 

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

페이지 정보

작성자 MintState 댓글 0건 조회 10,722회 작성일 08-10-29 20:38

본문

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

<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) 이런 식으로 바꾸어 주시길-->

댓글목록

등록된 댓글이 없습니다.

Total 178건 7 페이지
게시물 검색
모바일 버전으로 보기
CopyRight ©2004 - 2024, YesYo.com MintState. ™