DHTML Image Thumbnail Chooser

· 17년 전 · 1791
<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,588
17년 전 조회 1,461
17년 전 조회 2,573
17년 전 조회 2,338
17년 전 조회 2,116
17년 전 조회 1,426
17년 전 조회 2,443
17년 전 조회 4,262
17년 전 조회 2,746
17년 전 조회 1,671
17년 전 조회 1,864
17년 전 조회 3,242
17년 전 조회 2,249
17년 전 조회 3,840
17년 전 조회 1,688
17년 전 조회 2,281
17년 전 조회 2,112
17년 전 조회 1,627
17년 전 조회 2,143
17년 전 조회 1,941
17년 전 조회 1,975
17년 전 조회 3,086
17년 전 조회 2,159
17년 전 조회 1,448
17년 전 조회 1,472
17년 전 조회 2,135
17년 전 조회 3,212
17년 전 조회 2,152
17년 전 조회 1,543
17년 전 조회 4,247
17년 전 조회 2,036
17년 전 조회 3,468
17년 전 조회 6,042
17년 전 조회 1,498
17년 전 조회 1,668
17년 전 조회 1,248
17년 전 조회 1,363
17년 전 조회 2,884
17년 전 조회 1,919
17년 전 조회 2,604
17년 전 조회 1,312
17년 전 조회 3,189
17년 전 조회 2,174
17년 전 조회 2,616
17년 전 조회 1,416
17년 전 조회 1,763
17년 전 조회 1,162
17년 전 조회 1,215
17년 전 조회 1,792
17년 전 조회 1,237
17년 전 조회 4,321
17년 전 조회 1,517
17년 전 조회 2,013
17년 전 조회 7,100
17년 전 조회 1,392
17년 전 조회 1,908
17년 전 조회 3,138
17년 전 조회 1,235
17년 전 조회 1,996
17년 전 조회 1,166
17년 전 조회 1,869
17년 전 조회 2,161
17년 전 조회 2,976
17년 전 조회 1,251
17년 전 조회 1,344
17년 전 조회 1,571
17년 전 조회 1,233
17년 전 조회 4,370
17년 전 조회 3,912
17년 전 조회 2,801
17년 전 조회 1,601
17년 전 조회 1,347
17년 전 조회 1,616
17년 전 조회 2,533
17년 전 조회 1,746
17년 전 조회 2,031
17년 전 조회 1,321
17년 전 조회 1,051
17년 전 조회 1,133
17년 전 조회 2,934
17년 전 조회 2,473
17년 전 조회 2,053
17년 전 조회 2,054
17년 전 조회 1,810
17년 전 조회 2,253
17년 전 조회 2,024
17년 전 조회 1,997
17년 전 조회 1,885
17년 전 조회 1,219
17년 전 조회 1,837
17년 전 조회 2,241
17년 전 조회 2,314
17년 전 조회 1,654
17년 전 조회 1,517
17년 전 조회 1,370
17년 전 조회 2,590
17년 전 조회 2,682
17년 전 조회 2,076
17년 전 조회 2,428
🐛 버그신고