천

이미지 좌우로 이동 갤러리 입니다.

· 2016-01-31 (일) 07:32:00 · 536

<table border=1>
<tr>
<td width="100">
<center>
<img name="chimg" src="1.gif"/>
</center>
</td>
</tr>
<tr>
<td><center>
<a href="javascript:preimg();">◀</a>
<a href="javascript:nextimg();">▶</a>
</center></td>
</tr>
</table>
</form>
<script>
first =0;

function preimg(){
if( first<=0)return;
else{
first --;
document.test.chimg.src=first+".gif";
}
}
function nextimg(){
first++;
document.test.chimg.src=first+".gif";
}
</script>

</form>
 

댓글을 작성하시려면 로그인이 필요합니다.

팁게시판

6,077건

디자인과 관련된 유용한 정보를 공유하세요. 질문은 상단의 QA에서 해주시기 바랍니다.

+
제목 글쓴이 날짜 조회
16-01-31 조회 537
16-01-30 조회 493
16-01-30 조회 478
16-01-30 조회 623
16-01-30 조회 505
16-01-30 조회 540
16-01-29 조회 529
16-01-29 조회 531
16-01-29 조회 449
16-01-29 조회 460
16-01-28 조회 467
16-01-28 조회 459
16-01-28 조회 441
16-01-28 조회 413
16-01-28 조회 492
16-01-27 조회 446
16-01-27 조회 478
16-01-27 조회 455
16-01-26 조회 538
16-01-26 조회 445
16-01-26 조회 424
16-01-26 조회 492
16-01-25 조회 474
16-01-25 조회 516
16-01-25 조회 502