DHTML Image Thumbnail Chooser

· 17년 전 · 1784
<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,609
17년 전 조회 1,583
17년 전 조회 1,455
17년 전 조회 2,565
17년 전 조회 2,332
17년 전 조회 2,109
17년 전 조회 1,420
17년 전 조회 2,434
17년 전 조회 4,257
17년 전 조회 2,743
17년 전 조회 1,667
17년 전 조회 1,860
17년 전 조회 3,237
17년 전 조회 2,240
17년 전 조회 3,833
17년 전 조회 1,685
17년 전 조회 2,277
17년 전 조회 2,107
17년 전 조회 1,623
17년 전 조회 2,138
17년 전 조회 1,933
17년 전 조회 1,969
17년 전 조회 3,081
17년 전 조회 2,155
17년 전 조회 1,446
17년 전 조회 1,467
17년 전 조회 2,131
17년 전 조회 3,207
17년 전 조회 2,145
17년 전 조회 1,541
17년 전 조회 4,242
17년 전 조회 2,031
17년 전 조회 3,463
17년 전 조회 6,036
17년 전 조회 1,492
17년 전 조회 1,661
17년 전 조회 1,243
17년 전 조회 1,355
17년 전 조회 2,878
17년 전 조회 1,917
17년 전 조회 2,600
17년 전 조회 1,308
17년 전 조회 3,189
17년 전 조회 2,166
17년 전 조회 2,607
17년 전 조회 1,413
17년 전 조회 1,760
17년 전 조회 1,153
17년 전 조회 1,208
17년 전 조회 1,785
17년 전 조회 1,231
17년 전 조회 4,311
17년 전 조회 1,508
17년 전 조회 2,009
17년 전 조회 7,093
17년 전 조회 1,387
17년 전 조회 1,901
17년 전 조회 3,135
17년 전 조회 1,226
17년 전 조회 1,988
17년 전 조회 1,160
17년 전 조회 1,858
17년 전 조회 2,154
17년 전 조회 2,969
17년 전 조회 1,246
17년 전 조회 1,337
17년 전 조회 1,565
17년 전 조회 1,228
17년 전 조회 4,363
17년 전 조회 3,906
17년 전 조회 2,794
17년 전 조회 1,594
17년 전 조회 1,338
17년 전 조회 1,607
17년 전 조회 2,527
17년 전 조회 1,742
17년 전 조회 2,026
17년 전 조회 1,315
17년 전 조회 1,042
17년 전 조회 1,127
17년 전 조회 2,930
17년 전 조회 2,468
17년 전 조회 2,047
17년 전 조회 2,048
17년 전 조회 1,802
17년 전 조회 2,248
17년 전 조회 2,019
17년 전 조회 1,994
17년 전 조회 1,879
17년 전 조회 1,214
17년 전 조회 1,835
17년 전 조회 2,236
17년 전 조회 2,305
17년 전 조회 1,647
17년 전 조회 1,512
17년 전 조회 1,363
17년 전 조회 2,581
17년 전 조회 2,676
17년 전 조회 2,072
17년 전 조회 2,422
🐛 버그신고