DHTML Image Thumbnail Chooser

· 17년 전 · 1793
<style>
body {
        background-color:#000000;
        color:#E27907;
        font-family:Verdana,Arial;
        font-size:10pt;
        letter-spacing:2;
}
.thumbNormal {
        border:4px solid #000000;
        cursor: pointer;
}
.thumbSelected {
        border:4px solid #ff0000;
}
</style>

<script language="JavaScript" type="text/javascript">
var lastID = 0;
function SelectImg(id) {
        if (lastID > 0)
                document.getElementById(lastID).className = "thumbNormal";
        document.getElementById(id).className = "thumbSelected";
        regex = /_tn/;
        document.getElementById(0).src = document.getElementById(id).src.replace(regex, ");
        lastID = id;
}
function LoadTrigger() {
        SelectImg(1);
}
window.onload = LoadTrigger;
</script>

Click a photo on the left to view full image.
<table border="0">
  <tr>
    <td valign="top"><img id="1" class="thumbNormal" src="/images/family_tn.jpg" width="100" height="50" onclick="SelectImg(1)" /> <br />
      <img id="2" class="thumbNormal" src="/images/ourdog_tn.jpg" width="100" height="50" onclick="SelectImg(2)" /> <br />
      <img id="3" class="thumbNormal" src="/images/fish_tn.jpg" width="100" height="50" onclick="SelectImg(3)" /></td>
    <td width="15"></td>
    <td valign="top"><img id="0" src="" /></td>
  </tr>
</table>
[이 게시물은 관리자님에 의해 2011-10-31 16:57:14 JavaScript에서 이동 됨]
|
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

+
제목 글쓴이 날짜 조회
17년 전 조회 1,617
17년 전 조회 1,589
17년 전 조회 1,463
17년 전 조회 2,574
17년 전 조회 2,340
17년 전 조회 2,117
17년 전 조회 1,430
17년 전 조회 2,444
17년 전 조회 4,264
17년 전 조회 2,749
17년 전 조회 1,672
17년 전 조회 1,866
17년 전 조회 3,245
17년 전 조회 2,250
17년 전 조회 3,842
17년 전 조회 1,693
17년 전 조회 2,282
17년 전 조회 2,114
17년 전 조회 1,629
17년 전 조회 2,147
17년 전 조회 1,943
17년 전 조회 1,978
17년 전 조회 3,088
17년 전 조회 2,163
17년 전 조회 1,453
17년 전 조회 1,475
17년 전 조회 2,140
17년 전 조회 3,215
17년 전 조회 2,155
17년 전 조회 1,545
17년 전 조회 4,249
17년 전 조회 2,037
17년 전 조회 3,470
17년 전 조회 6,043
17년 전 조회 1,500
17년 전 조회 1,669
17년 전 조회 1,253
17년 전 조회 1,363
17년 전 조회 2,887
17년 전 조회 1,920
17년 전 조회 2,607
17년 전 조회 1,312
17년 전 조회 3,193
17년 전 조회 2,175
17년 전 조회 2,616
17년 전 조회 1,417
17년 전 조회 1,765
17년 전 조회 1,163
17년 전 조회 1,217
17년 전 조회 1,794
17년 전 조회 1,238
17년 전 조회 4,322
17년 전 조회 1,519
17년 전 조회 2,016
17년 전 조회 7,100
17년 전 조회 1,393
17년 전 조회 1,910
17년 전 조회 3,139
17년 전 조회 1,236
17년 전 조회 1,997
17년 전 조회 1,166
17년 전 조회 1,869
17년 전 조회 2,162
17년 전 조회 2,979
17년 전 조회 1,254
17년 전 조회 1,345
17년 전 조회 1,572
17년 전 조회 1,234
17년 전 조회 4,371
17년 전 조회 3,913
17년 전 조회 2,804
17년 전 조회 1,604
17년 전 조회 1,349
17년 전 조회 1,617
17년 전 조회 2,534
17년 전 조회 1,746
17년 전 조회 2,034
17년 전 조회 1,324
17년 전 조회 1,054
17년 전 조회 1,137
17년 전 조회 2,936
17년 전 조회 2,474
17년 전 조회 2,053
17년 전 조회 2,055
17년 전 조회 1,810
17년 전 조회 2,255
17년 전 조회 2,026
17년 전 조회 1,998
17년 전 조회 1,887
17년 전 조회 1,221
17년 전 조회 1,839
17년 전 조회 2,242
17년 전 조회 2,318
17년 전 조회 1,655
17년 전 조회 1,519
17년 전 조회 1,373
17년 전 조회 2,591
17년 전 조회 2,685
17년 전 조회 2,078
17년 전 조회 2,431
🐛 버그신고