DHTML Image Thumbnail Chooser

· 17년 전 · 1776
<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,599
17년 전 조회 1,572
17년 전 조회 1,445
17년 전 조회 2,558
17년 전 조회 2,323
17년 전 조회 2,103
17년 전 조회 1,412
17년 전 조회 2,426
17년 전 조회 4,248
17년 전 조회 2,737
17년 전 조회 1,657
17년 전 조회 1,851
17년 전 조회 3,228
17년 전 조회 2,230
17년 전 조회 3,824
17년 전 조회 1,673
17년 전 조회 2,269
17년 전 조회 2,098
17년 전 조회 1,614
17년 전 조회 2,128
17년 전 조회 1,925
17년 전 조회 1,960
17년 전 조회 3,073
17년 전 조회 2,147
17년 전 조회 1,436
17년 전 조회 1,458
17년 전 조회 2,124
17년 전 조회 3,201
17년 전 조회 2,137
17년 전 조회 1,529
17년 전 조회 4,235
17년 전 조회 2,024
17년 전 조회 3,456
17년 전 조회 6,030
17년 전 조회 1,483
17년 전 조회 1,653
17년 전 조회 1,234
17년 전 조회 1,345
17년 전 조회 2,869
17년 전 조회 1,905
17년 전 조회 2,591
17년 전 조회 1,299
17년 전 조회 3,177
17년 전 조회 2,159
17년 전 조회 2,600
17년 전 조회 1,403
17년 전 조회 1,753
17년 전 조회 1,149
17년 전 조회 1,204
17년 전 조회 1,777
17년 전 조회 1,223
17년 전 조회 4,304
17년 전 조회 1,499
17년 전 조회 2,001
17년 전 조회 7,089
17년 전 조회 1,377
17년 전 조회 1,895
17년 전 조회 3,125
17년 전 조회 1,222
17년 전 조회 1,981
17년 전 조회 1,153
17년 전 조회 1,851
17년 전 조회 2,149
17년 전 조회 2,961
17년 전 조회 1,239
17년 전 조회 1,328
17년 전 조회 1,555
17년 전 조회 1,221
17년 전 조회 4,354
17년 전 조회 3,897
17년 전 조회 2,785
17년 전 조회 1,588
17년 전 조회 1,334
17년 전 조회 1,601
17년 전 조회 2,517
17년 전 조회 1,732
17년 전 조회 2,017
17년 전 조회 1,305
17년 전 조회 1,036
17년 전 조회 1,119
17년 전 조회 2,922
17년 전 조회 2,459
17년 전 조회 2,041
17년 전 조회 2,040
17년 전 조회 1,794
17년 전 조회 2,240
17년 전 조회 2,011
17년 전 조회 1,985
17년 전 조회 1,873
17년 전 조회 1,207
17년 전 조회 1,824
17년 전 조회 2,228
17년 전 조회 2,300
17년 전 조회 1,638
17년 전 조회 1,507
17년 전 조회 1,356
17년 전 조회 2,574
17년 전 조회 2,671
17년 전 조회 2,067
17년 전 조회 2,413
🐛 버그신고