DHTML Image Thumbnail Chooser

· 17년 전 · 1780
<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,603
17년 전 조회 1,579
17년 전 조회 1,450
17년 전 조회 2,562
17년 전 조회 2,325
17년 전 조회 2,107
17년 전 조회 1,416
17년 전 조회 2,430
17년 전 조회 4,253
17년 전 조회 2,740
17년 전 조회 1,662
17년 전 조회 1,853
17년 전 조회 3,231
17년 전 조회 2,234
17년 전 조회 3,831
17년 전 조회 1,677
17년 전 조회 2,273
17년 전 조회 2,102
17년 전 조회 1,617
17년 전 조회 2,132
17년 전 조회 1,929
17년 전 조회 1,966
17년 전 조회 3,077
17년 전 조회 2,153
17년 전 조회 1,440
17년 전 조회 1,463
17년 전 조회 2,127
17년 전 조회 3,205
17년 전 조회 2,142
17년 전 조회 1,536
17년 전 조회 4,239
17년 전 조회 2,026
17년 전 조회 3,460
17년 전 조회 6,034
17년 전 조회 1,486
17년 전 조회 1,656
17년 전 조회 1,240
17년 전 조회 1,351
17년 전 조회 2,874
17년 전 조회 1,911
17년 전 조회 2,595
17년 전 조회 1,305
17년 전 조회 3,181
17년 전 조회 2,163
17년 전 조회 2,603
17년 전 조회 1,408
17년 전 조회 1,754
17년 전 조회 1,152
17년 전 조회 1,207
17년 전 조회 1,781
17년 전 조회 1,228
17년 전 조회 4,307
17년 전 조회 1,504
17년 전 조회 2,004
17년 전 조회 7,091
17년 전 조회 1,381
17년 전 조회 1,898
17년 전 조회 3,129
17년 전 조회 1,224
17년 전 조회 1,984
17년 전 조회 1,158
17년 전 조회 1,854
17년 전 조회 2,152
17년 전 조회 2,965
17년 전 조회 1,242
17년 전 조회 1,332
17년 전 조회 1,557
17년 전 조회 1,226
17년 전 조회 4,357
17년 전 조회 3,900
17년 전 조회 2,789
17년 전 조회 1,593
17년 전 조회 1,337
17년 전 조회 1,605
17년 전 조회 2,522
17년 전 조회 1,736
17년 전 조회 2,020
17년 전 조회 1,309
17년 전 조회 1,041
17년 전 조회 1,124
17년 전 조회 2,926
17년 전 조회 2,461
17년 전 조회 2,045
17년 전 조회 2,044
17년 전 조회 1,799
17년 전 조회 2,242
17년 전 조회 2,015
17년 전 조회 1,988
17년 전 조회 1,877
17년 전 조회 1,211
17년 전 조회 1,828
17년 전 조회 2,232
17년 전 조회 2,303
17년 전 조회 1,642
17년 전 조회 1,510
17년 전 조회 1,361
17년 전 조회 2,577
17년 전 조회 2,675
17년 전 조회 2,068
17년 전 조회 2,417
🐛 버그신고