DHTML Image Thumbnail Chooser

· 17년 전 · 1786
<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,613
17년 전 조회 1,585
17년 전 조회 1,457
17년 전 조회 2,569
17년 전 조회 2,334
17년 전 조회 2,112
17년 전 조회 1,422
17년 전 조회 2,440
17년 전 조회 4,260
17년 전 조회 2,745
17년 전 조회 1,671
17년 전 조회 1,860
17년 전 조회 3,239
17년 전 조회 2,244
17년 전 조회 3,837
17년 전 조회 1,687
17년 전 조회 2,279
17년 전 조회 2,109
17년 전 조회 1,626
17년 전 조회 2,140
17년 전 조회 1,938
17년 전 조회 1,972
17년 전 조회 3,083
17년 전 조회 2,157
17년 전 조회 1,446
17년 전 조회 1,471
17년 전 조회 2,134
17년 전 조회 3,212
17년 전 조회 2,149
17년 전 조회 1,542
17년 전 조회 4,243
17년 전 조회 2,033
17년 전 조회 3,467
17년 전 조회 6,041
17년 전 조회 1,498
17년 전 조회 1,665
17년 전 조회 1,246
17년 전 조회 1,358
17년 전 조회 2,880
17년 전 조회 1,919
17년 전 조회 2,601
17년 전 조회 1,310
17년 전 조회 3,189
17년 전 조회 2,171
17년 전 조회 2,612
17년 전 조회 1,413
17년 전 조회 1,762
17년 전 조회 1,155
17년 전 조회 1,213
17년 전 조회 1,787
17년 전 조회 1,234
17년 전 조회 4,317
17년 전 조회 1,517
17년 전 조회 2,012
17년 전 조회 7,099
17년 전 조회 1,390
17년 전 조회 1,904
17년 전 조회 3,137
17년 전 조회 1,229
17년 전 조회 1,990
17년 전 조회 1,164
17년 전 조회 1,864
17년 전 조회 2,158
17년 전 조회 2,971
17년 전 조회 1,249
17년 전 조회 1,340
17년 전 조회 1,570
17년 전 조회 1,231
17년 전 조회 4,368
17년 전 조회 3,907
17년 전 조회 2,797
17년 전 조회 1,596
17년 전 조회 1,343
17년 전 조회 1,609
17년 전 조회 2,530
17년 전 조회 1,745
17년 전 조회 2,028
17년 전 조회 1,317
17년 전 조회 1,048
17년 전 조회 1,131
17년 전 조회 2,932
17년 전 조회 2,472
17년 전 조회 2,051
17년 전 조회 2,051
17년 전 조회 1,805
17년 전 조회 2,251
17년 전 조회 2,022
17년 전 조회 1,996
17년 전 조회 1,881
17년 전 조회 1,214
17년 전 조회 1,836
17년 전 조회 2,238
17년 전 조회 2,310
17년 전 조회 1,648
17년 전 조회 1,516
17년 전 조회 1,366
17년 전 조회 2,586
17년 전 조회 2,679
17년 전 조회 2,072
17년 전 조회 2,425
🐛 버그신고