DHTML Image Thumbnail Chooser

· 17년 전 · 1774
<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,571
17년 전 조회 1,444
17년 전 조회 2,556
17년 전 조회 2,320
17년 전 조회 2,102
17년 전 조회 1,412
17년 전 조회 2,424
17년 전 조회 4,246
17년 전 조회 2,735
17년 전 조회 1,657
17년 전 조회 1,850
17년 전 조회 3,227
17년 전 조회 2,229
17년 전 조회 3,823
17년 전 조회 1,671
17년 전 조회 2,267
17년 전 조회 2,097
17년 전 조회 1,613
17년 전 조회 2,127
17년 전 조회 1,924
17년 전 조회 1,959
17년 전 조회 3,072
17년 전 조회 2,147
17년 전 조회 1,435
17년 전 조회 1,458
17년 전 조회 2,123
17년 전 조회 3,199
17년 전 조회 2,135
17년 전 조회 1,527
17년 전 조회 4,233
17년 전 조회 2,022
17년 전 조회 3,452
17년 전 조회 6,027
17년 전 조회 1,482
17년 전 조회 1,652
17년 전 조회 1,232
17년 전 조회 1,343
17년 전 조회 2,867
17년 전 조회 1,904
17년 전 조회 2,590
17년 전 조회 1,299
17년 전 조회 3,176
17년 전 조회 2,158
17년 전 조회 2,600
17년 전 조회 1,402
17년 전 조회 1,752
17년 전 조회 1,148
17년 전 조회 1,203
17년 전 조회 1,775
17년 전 조회 1,221
17년 전 조회 4,302
17년 전 조회 1,497
17년 전 조회 2,000
17년 전 조회 7,086
17년 전 조회 1,376
17년 전 조회 1,892
17년 전 조회 3,123
17년 전 조회 1,221
17년 전 조회 1,979
17년 전 조회 1,152
17년 전 조회 1,849
17년 전 조회 2,148
17년 전 조회 2,960
17년 전 조회 1,238
17년 전 조회 1,327
17년 전 조회 1,554
17년 전 조회 1,220
17년 전 조회 4,353
17년 전 조회 3,896
17년 전 조회 2,784
17년 전 조회 1,587
17년 전 조회 1,332
17년 전 조회 1,599
17년 전 조회 2,514
17년 전 조회 1,731
17년 전 조회 2,015
17년 전 조회 1,302
17년 전 조회 1,034
17년 전 조회 1,118
17년 전 조회 2,920
17년 전 조회 2,458
17년 전 조회 2,039
17년 전 조회 2,039
17년 전 조회 1,792
17년 전 조회 2,238
17년 전 조회 2,010
17년 전 조회 1,983
17년 전 조회 1,871
17년 전 조회 1,207
17년 전 조회 1,823
17년 전 조회 2,226
17년 전 조회 2,296
17년 전 조회 1,637
17년 전 조회 1,506
17년 전 조회 1,354
17년 전 조회 2,573
17년 전 조회 2,669
17년 전 조회 2,066
17년 전 조회 2,412
🐛 버그신고