DHTML Image Thumbnail Chooser

· 17년 전 · 1781
<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,605
17년 전 조회 1,580
17년 전 조회 1,453
17년 전 조회 2,564
17년 전 조회 2,329
17년 전 조회 2,108
17년 전 조회 1,417
17년 전 조회 2,433
17년 전 조회 4,254
17년 전 조회 2,740
17년 전 조회 1,663
17년 전 조회 1,857
17년 전 조회 3,235
17년 전 조회 2,236
17년 전 조회 3,832
17년 전 조회 1,681
17년 전 조회 2,275
17년 전 조회 2,103
17년 전 조회 1,621
17년 전 조회 2,134
17년 전 조회 1,931
17년 전 조회 1,968
17년 전 조회 3,078
17년 전 조회 2,153
17년 전 조회 1,443
17년 전 조회 1,465
17년 전 조회 2,128
17년 전 조회 3,206
17년 전 조회 2,144
17년 전 조회 1,537
17년 전 조회 4,239
17년 전 조회 2,030
17년 전 조회 3,461
17년 전 조회 6,034
17년 전 조회 1,488
17년 전 조회 1,656
17년 전 조회 1,240
17년 전 조회 1,353
17년 전 조회 2,876
17년 전 조회 1,913
17년 전 조회 2,596
17년 전 조회 1,306
17년 전 조회 3,184
17년 전 조회 2,164
17년 전 조회 2,603
17년 전 조회 1,410
17년 전 조회 1,756
17년 전 조회 1,153
17년 전 조회 1,207
17년 전 조회 1,782
17년 전 조회 1,230
17년 전 조회 4,308
17년 전 조회 1,506
17년 전 조회 2,006
17년 전 조회 7,091
17년 전 조회 1,383
17년 전 조회 1,898
17년 전 조회 3,132
17년 전 조회 1,226
17년 전 조회 1,985
17년 전 조회 1,158
17년 전 조회 1,858
17년 전 조회 2,152
17년 전 조회 2,966
17년 전 조회 1,244
17년 전 조회 1,334
17년 전 조회 1,563
17년 전 조회 1,227
17년 전 조회 4,360
17년 전 조회 3,904
17년 전 조회 2,792
17년 전 조회 1,593
17년 전 조회 1,337
17년 전 조회 1,606
17년 전 조회 2,523
17년 전 조회 1,740
17년 전 조회 2,024
17년 전 조회 1,310
17년 전 조회 1,041
17년 전 조회 1,126
17년 전 조회 2,928
17년 전 조회 2,466
17년 전 조회 2,047
17년 전 조회 2,046
17년 전 조회 1,800
17년 전 조회 2,243
17년 전 조회 2,017
17년 전 조회 1,990
17년 전 조회 1,878
17년 전 조회 1,212
17년 전 조회 1,831
17년 전 조회 2,233
17년 전 조회 2,305
17년 전 조회 1,644
17년 전 조회 1,511
17년 전 조회 1,362
17년 전 조회 2,579
17년 전 조회 2,675
17년 전 조회 2,068
17년 전 조회 2,419
🐛 버그신고