DHTML Image Thumbnail Chooser

· 17년 전 · 1790
<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,614
17년 전 조회 1,587
17년 전 조회 1,459
17년 전 조회 2,573
17년 전 조회 2,337
17년 전 조회 2,114
17년 전 조회 1,425
17년 전 조회 2,441
17년 전 조회 4,261
17년 전 조회 2,745
17년 전 조회 1,671
17년 전 조회 1,864
17년 전 조회 3,242
17년 전 조회 2,249
17년 전 조회 3,840
17년 전 조회 1,688
17년 전 조회 2,281
17년 전 조회 2,111
17년 전 조회 1,627
17년 전 조회 2,143
17년 전 조회 1,941
17년 전 조회 1,975
17년 전 조회 3,085
17년 전 조회 2,159
17년 전 조회 1,448
17년 전 조회 1,472
17년 전 조회 2,135
17년 전 조회 3,212
17년 전 조회 2,152
17년 전 조회 1,542
17년 전 조회 4,245
17년 전 조회 2,035
17년 전 조회 3,468
17년 전 조회 6,042
17년 전 조회 1,498
17년 전 조회 1,667
17년 전 조회 1,247
17년 전 조회 1,362
17년 전 조회 2,884
17년 전 조회 1,919
17년 전 조회 2,603
17년 전 조회 1,311
17년 전 조회 3,189
17년 전 조회 2,173
17년 전 조회 2,616
17년 전 조회 1,415
17년 전 조회 1,763
17년 전 조회 1,159
17년 전 조회 1,214
17년 전 조회 1,791
17년 전 조회 1,235
17년 전 조회 4,320
17년 전 조회 1,517
17년 전 조회 2,013
17년 전 조회 7,100
17년 전 조회 1,391
17년 전 조회 1,906
17년 전 조회 3,138
17년 전 조회 1,232
17년 전 조회 1,993
17년 전 조회 1,165
17년 전 조회 1,868
17년 전 조회 2,160
17년 전 조회 2,976
17년 전 조회 1,251
17년 전 조회 1,343
17년 전 조회 1,571
17년 전 조회 1,233
17년 전 조회 4,369
17년 전 조회 3,910
17년 전 조회 2,799
17년 전 조회 1,599
17년 전 조회 1,347
17년 전 조회 1,613
17년 전 조회 2,531
17년 전 조회 1,746
17년 전 조회 2,031
17년 전 조회 1,320
17년 전 조회 1,050
17년 전 조회 1,132
17년 전 조회 2,932
17년 전 조회 2,473
17년 전 조회 2,053
17년 전 조회 2,054
17년 전 조회 1,810
17년 전 조회 2,253
17년 전 조회 2,023
17년 전 조회 1,996
17년 전 조회 1,883
17년 전 조회 1,219
17년 전 조회 1,837
17년 전 조회 2,241
17년 전 조회 2,314
17년 전 조회 1,652
17년 전 조회 1,516
17년 전 조회 1,370
17년 전 조회 2,588
17년 전 조회 2,682
17년 전 조회 2,075
17년 전 조회 2,426
🐛 버그신고