DHTML Image Thumbnail Chooser

· 17년 전 · 1785
<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,610
17년 전 조회 1,585
17년 전 조회 1,456
17년 전 조회 2,569
17년 전 조회 2,333
17년 전 조회 2,111
17년 전 조회 1,421
17년 전 조회 2,438
17년 전 조회 4,260
17년 전 조회 2,745
17년 전 조회 1,669
17년 전 조회 1,860
17년 전 조회 3,239
17년 전 조회 2,243
17년 전 조회 3,837
17년 전 조회 1,687
17년 전 조회 2,278
17년 전 조회 2,109
17년 전 조회 1,624
17년 전 조회 2,139
17년 전 조회 1,937
17년 전 조회 1,972
17년 전 조회 3,083
17년 전 조회 2,157
17년 전 조회 1,446
17년 전 조회 1,471
17년 전 조회 2,133
17년 전 조회 3,212
17년 전 조회 2,147
17년 전 조회 1,542
17년 전 조회 4,243
17년 전 조회 2,033
17년 전 조회 3,466
17년 전 조회 6,037
17년 전 조회 1,494
17년 전 조회 1,663
17년 전 조회 1,245
17년 전 조회 1,356
17년 전 조회 2,879
17년 전 조회 1,918
17년 전 조회 2,600
17년 전 조회 1,309
17년 전 조회 3,189
17년 전 조회 2,168
17년 전 조회 2,609
17년 전 조회 1,413
17년 전 조회 1,761
17년 전 조회 1,154
17년 전 조회 1,213
17년 전 조회 1,786
17년 전 조회 1,232
17년 전 조회 4,314
17년 전 조회 1,511
17년 전 조회 2,012
17년 전 조회 7,097
17년 전 조회 1,387
17년 전 조회 1,903
17년 전 조회 3,137
17년 전 조회 1,227
17년 전 조회 1,990
17년 전 조회 1,163
17년 전 조회 1,861
17년 전 조회 2,157
17년 전 조회 2,970
17년 전 조회 1,247
17년 전 조회 1,340
17년 전 조회 1,566
17년 전 조회 1,230
17년 전 조회 4,365
17년 전 조회 3,907
17년 전 조회 2,796
17년 전 조회 1,595
17년 전 조회 1,341
17년 전 조회 1,609
17년 전 조회 2,528
17년 전 조회 1,745
17년 전 조회 2,026
17년 전 조회 1,316
17년 전 조회 1,046
17년 전 조회 1,129
17년 전 조회 2,931
17년 전 조회 2,469
17년 전 조회 2,048
17년 전 조회 2,050
17년 전 조회 1,803
17년 전 조회 2,250
17년 전 조회 2,022
17년 전 조회 1,995
17년 전 조회 1,881
17년 전 조회 1,214
17년 전 조회 1,835
17년 전 조회 2,238
17년 전 조회 2,308
17년 전 조회 1,648
17년 전 조회 1,515
17년 전 조회 1,364
17년 전 조회 2,586
17년 전 조회 2,679
17년 전 조회 2,072
17년 전 조회 2,425
🐛 버그신고