DHTML Image Thumbnail Chooser

· 17년 전 · 1777
<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,600
17년 전 조회 1,572
17년 전 조회 1,445
17년 전 조회 2,559
17년 전 조회 2,323
17년 전 조회 2,103
17년 전 조회 1,412
17년 전 조회 2,426
17년 전 조회 4,249
17년 전 조회 2,737
17년 전 조회 1,658
17년 전 조회 1,852
17년 전 조회 3,229
17년 전 조회 2,231
17년 전 조회 3,824
17년 전 조회 1,673
17년 전 조회 2,270
17년 전 조회 2,098
17년 전 조회 1,614
17년 전 조회 2,130
17년 전 조회 1,926
17년 전 조회 1,961
17년 전 조회 3,073
17년 전 조회 2,147
17년 전 조회 1,436
17년 전 조회 1,459
17년 전 조회 2,125
17년 전 조회 3,201
17년 전 조회 2,137
17년 전 조회 1,529
17년 전 조회 4,236
17년 전 조회 2,025
17년 전 조회 3,457
17년 전 조회 6,031
17년 전 조회 1,484
17년 전 조회 1,653
17년 전 조회 1,235
17년 전 조회 1,345
17년 전 조회 2,870
17년 전 조회 1,906
17년 전 조회 2,591
17년 전 조회 1,300
17년 전 조회 3,178
17년 전 조회 2,160
17년 전 조회 2,601
17년 전 조회 1,404
17년 전 조회 1,754
17년 전 조회 1,149
17년 전 조회 1,205
17년 전 조회 1,778
17년 전 조회 1,223
17년 전 조회 4,304
17년 전 조회 1,500
17년 전 조회 2,002
17년 전 조회 7,089
17년 전 조회 1,378
17년 전 조회 1,895
17년 전 조회 3,125
17년 전 조회 1,223
17년 전 조회 1,982
17년 전 조회 1,154
17년 전 조회 1,851
17년 전 조회 2,150
17년 전 조회 2,961
17년 전 조회 1,239
17년 전 조회 1,329
17년 전 조회 1,555
17년 전 조회 1,223
17년 전 조회 4,355
17년 전 조회 3,898
17년 전 조회 2,785
17년 전 조회 1,589
17년 전 조회 1,334
17년 전 조회 1,602
17년 전 조회 2,518
17년 전 조회 1,733
17년 전 조회 2,017
17년 전 조회 1,305
17년 전 조회 1,037
17년 전 조회 1,119
17년 전 조회 2,922
17년 전 조회 2,459
17년 전 조회 2,041
17년 전 조회 2,041
17년 전 조회 1,794
17년 전 조회 2,240
17년 전 조회 2,011
17년 전 조회 1,985
17년 전 조회 1,873
17년 전 조회 1,208
17년 전 조회 1,825
17년 전 조회 2,228
17년 전 조회 2,300
17년 전 조회 1,638
17년 전 조회 1,507
17년 전 조회 1,356
17년 전 조회 2,575
17년 전 조회 2,671
17년 전 조회 2,068
17년 전 조회 2,414
🐛 버그신고