DHTML Image Thumbnail Chooser

· 17년 전 · 1783
<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,608
17년 전 조회 1,583
17년 전 조회 1,454
17년 전 조회 2,565
17년 전 조회 2,332
17년 전 조회 2,109
17년 전 조회 1,419
17년 전 조회 2,433
17년 전 조회 4,256
17년 전 조회 2,742
17년 전 조회 1,667
17년 전 조회 1,860
17년 전 조회 3,237
17년 전 조회 2,239
17년 전 조회 3,832
17년 전 조회 1,685
17년 전 조회 2,275
17년 전 조회 2,107
17년 전 조회 1,623
17년 전 조회 2,137
17년 전 조회 1,932
17년 전 조회 1,969
17년 전 조회 3,079
17년 전 조회 2,155
17년 전 조회 1,444
17년 전 조회 1,467
17년 전 조회 2,130
17년 전 조회 3,207
17년 전 조회 2,145
17년 전 조회 1,541
17년 전 조회 4,241
17년 전 조회 2,031
17년 전 조회 3,462
17년 전 조회 6,035
17년 전 조회 1,491
17년 전 조회 1,659
17년 전 조회 1,243
17년 전 조회 1,355
17년 전 조회 2,878
17년 전 조회 1,917
17년 전 조회 2,599
17년 전 조회 1,308
17년 전 조회 3,189
17년 전 조회 2,165
17년 전 조회 2,606
17년 전 조회 1,412
17년 전 조회 1,760
17년 전 조회 1,153
17년 전 조회 1,207
17년 전 조회 1,784
17년 전 조회 1,230
17년 전 조회 4,311
17년 전 조회 1,508
17년 전 조회 2,008
17년 전 조회 7,092
17년 전 조회 1,387
17년 전 조회 1,900
17년 전 조회 3,134
17년 전 조회 1,226
17년 전 조회 1,987
17년 전 조회 1,160
17년 전 조회 1,858
17년 전 조회 2,153
17년 전 조회 2,968
17년 전 조회 1,246
17년 전 조회 1,336
17년 전 조회 1,565
17년 전 조회 1,227
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,314
17년 전 조회 1,042
17년 전 조회 1,127
17년 전 조회 2,929
17년 전 조회 2,467
17년 전 조회 2,047
17년 전 조회 2,048
17년 전 조회 1,801
17년 전 조회 2,248
17년 전 조회 2,018
17년 전 조회 1,992
17년 전 조회 1,879
17년 전 조회 1,213
17년 전 조회 1,833
17년 전 조회 2,236
17년 전 조회 2,305
17년 전 조회 1,645
17년 전 조회 1,511
17년 전 조회 1,362
17년 전 조회 2,581
17년 전 조회 2,675
17년 전 조회 2,071
17년 전 조회 2,421
🐛 버그신고