video particles
페이지 정보
본문
<script>
cutNum = 6; // 한줄에 위치하는 이미지숫자
imageGapPixel = 2; // 이미지간격
radiusPercent = 20; // 둥글기수치 0~50
textMarginPercent = 73; // 텍스트위치 margin-top 과 같음 퍼센트로 설정
imgList_1 = ["https://blog.kakaocdn.net/dn/cMVe4H/btq5RuQIRfF/DkSPyZQhLMVpy26P86Sp40/img.jpg", "그누보드<br>SIR.KR", "https://sir.kr/"];
imgList_2 = ["https://blog.kakaocdn.net/dn/nU4Lk/btq5TtDAlDl/cGLKyjuxsDOHGJ1WxujAFk/img.jpg", "그누보드<br>SIR.KR", "https://naver.com/"];
imgList_3 = ["https://blog.kakaocdn.net/dn/b7j6gV/btq5Syd5zbE/keJ3abDzXi32bHzKduJCA1/img.jpg", "그누보드<br>SIR.KR", "https://daum.net/"];
imgList_4 = ["https://blog.kakaocdn.net/dn/bQy7RZ/btq5Y9jj9J7/BgHmKBQmpphNpYkfS0qO0k/img.jpg", "그누보드<br>SIR.KR", "https://sir.kr/"];
imgList_5 = ["https://blog.kakaocdn.net/dn/y9wL8/btq5Yqr6Mfk/QkHrJyuJtTC41fBfWnMsZk/img.jpg", "그누보드<br>SIR.KR", "https://sir.kr/"];
imgList_6 = ["https://blog.kakaocdn.net/dn/PilbO/btq5TsScxQb/GVfvaGZqc4PLN25sgEKBLk/img.jpg", "그누보드<br>SIR.KR", "https://sir.kr/"];
imgList_7 = ["https://blog.kakaocdn.net/dn/cKhXce/btq5Ttp4eBk/ZADYMqqTmFkkuwX9Tt55AK/img.jpg", "그누보드<br>SIR.KR", "https://sir.kr/"];
imgList_8 = ["https://blog.kakaocdn.net/dn/d5MZRr/btq5TrZ5wRz/uIGtc7icn0wmhVpBsa2KsK/img.jpg", "그누보드<br>SIR.KR", "https://sir.kr/"];
imgList_9 = ["https://blog.kakaocdn.net/dn/bMaFXG/btq5TsScxSU/D6C1UMQ6e2fJezv0rlvmN1/img.jpg", "그누보드<br>SIR.KR", "https://sir.kr/"];
imgList_10 = ["https://blog.kakaocdn.net/dn/9u24l/btq5TtwUlyZ/ao3o9xmnYWJ977KtV0irAk/img.jpg", "그누보드<br>SIR.KR", "https://sir.kr/"];
imgList_11 = ["https://blog.kakaocdn.net/dn/bLBwe9/btq5RvIYCwg/GJuD0y78AHG9qa4sEFornk/img.jpg", "그누보드<br>SIR.KR", "https://sir.kr/"];
imgList_12 = ["https://blog.kakaocdn.net/dn/bmoAru/btq5Y7lvPVC/7nkHZyrt3h8eDBvWjCcCT0/img.jpg", "그누보드<br>SIR.KR", "https://sir.kr/"];
imgList_13 = ["https://blog.kakaocdn.net/dn/cohhuV/btq5SykVnIL/EXwGM77ss40KLTxvt3m6q1/img.jpg", "그누보드<br>SIR.KR", "https://sir.kr/"];
imgList_14 = ["https://blog.kakaocdn.net/dn/cHsRIh/btq5Y8kpUBx/2DLWaYAtM1ldFckdP6ODP1/img.jpg", "그누보드<br>SIR.KR", "https://sir.kr/"];
imgList_15 = ["https://blog.kakaocdn.net/dn/cXP9Wn/btq5Ruwrvsf/FXtbmllQUGsRZdVTO0BCu1/img.jpg", "그누보드<br>SIR.KR", "https://sir.kr/"];
imgList_16 = ["https://blog.kakaocdn.net/dn/uhsWd/btq5WONZdSe/MmlQhALVNwWWzWz11i9vwK/img.jpg", "그누보드<br>SIR.KR", "https://sir.kr/"];
imgList_17 = ["https://blog.kakaocdn.net/dn/cPmplq/btq5YrxKFWE/vvEdp4EAOXXXo7zYqILK4k/img.jpg", "그누보드<br>SIR.KR", "https://sir.kr/"];
imgList_18 = ["https://blog.kakaocdn.net/dn/kIAaG/btq5SxsGf4O/iVAwk9NnzFGJBVumuabQP0/img.jpg", "그누보드<br>SIR.KR", "https://sir.kr/"];
imgList_19 = ["https://blog.kakaocdn.net/dn/c0ek8U/btq5XKYDp5P/xo9tB3oLTh3GuxlztCKik0/img.jpg", "그누보드<br>SIR.KR", "https://sir.kr/"];
imgList_20 = ["https://blog.kakaocdn.net/dn/cuzTkp/btq5Y8SfCy9/LyaeKYrnPB06mQsM7ETMNk/img.jpg", "그누보드<br>SIR.KR", "https://sir.kr/"];
for (imgTotal = 0; this['imgList_' + (imgTotal + 1)]; imgTotal++);
</script>
<style>
@import url(http://cdn.jsdelivr.net/font-nanum/1.0/nanumbarungothic/nanumbarungothic.css);
.listDiv { height:100%; font-size:9pt; font-family:'Nanum Barun Gothic'; color:#000000; text-align:center; opacity:0; cursor:pointer; background:linear-gradient(rgba(0,0,0,0) 70%, rgba(255,255,255,0.7) 70%); }
</style>
<div id=imgDiv style=width:720px;overflow:hidden>
<script>
document.write("<table style=width:" + (imgDiv.clientWidth + imageGapPixel) + "px cellpadding=0 cellspacing=0>");
plusList = "</tr><tr><td style=height:" + imageGapPixel + "px></td></tr><tr>";
for (i = 1; i <= imgTotal; i++) {
basicList = "<td onclick=window.open('" + this['imgList_' + i][2] + "') style=padding-right:" + imageGapPixel + "px><div id=imgBtn_" + i + " style=background-image:url(" + this['imgList_' + i][0] + ");background-size:100%;border-radius:" + radiusPercent + "%><div class=listDiv onmouseover=style.opacity='1' onmouseout=style.opacity='0' style=border-radius:" + radiusPercent + "%><div id=textDiv_" + i + " style=padding-top:" + textMarginPercent + "%>" + this['imgList_' + i][1] + "</div></div></div></td>";
if (i % cutNum == 0 && i != imgTotal) document.write(basicList + plusList);
else document.write(basicList);
}
for (i = 1; i <= imgTotal; i++) this["imgBtn_" + i].style.height = this["imgBtn_" + i].clientWidth + 'px';
document.write("</tr></table>");
</script>
</div>
cutNum = 6; // 한줄에 위치하는 이미지숫자
imageGapPixel = 2; // 이미지간격
radiusPercent = 20; // 둥글기수치 0~50
textMarginPercent = 73; // 텍스트위치 margin-top 과 같음 퍼센트로 설정
imgList_1 = ["https://blog.kakaocdn.net/dn/cMVe4H/btq5RuQIRfF/DkSPyZQhLMVpy26P86Sp40/img.jpg", "그누보드<br>SIR.KR", "https://sir.kr/"];
imgList_2 = ["https://blog.kakaocdn.net/dn/nU4Lk/btq5TtDAlDl/cGLKyjuxsDOHGJ1WxujAFk/img.jpg", "그누보드<br>SIR.KR", "https://naver.com/"];
imgList_3 = ["https://blog.kakaocdn.net/dn/b7j6gV/btq5Syd5zbE/keJ3abDzXi32bHzKduJCA1/img.jpg", "그누보드<br>SIR.KR", "https://daum.net/"];
imgList_4 = ["https://blog.kakaocdn.net/dn/bQy7RZ/btq5Y9jj9J7/BgHmKBQmpphNpYkfS0qO0k/img.jpg", "그누보드<br>SIR.KR", "https://sir.kr/"];
imgList_5 = ["https://blog.kakaocdn.net/dn/y9wL8/btq5Yqr6Mfk/QkHrJyuJtTC41fBfWnMsZk/img.jpg", "그누보드<br>SIR.KR", "https://sir.kr/"];
imgList_6 = ["https://blog.kakaocdn.net/dn/PilbO/btq5TsScxQb/GVfvaGZqc4PLN25sgEKBLk/img.jpg", "그누보드<br>SIR.KR", "https://sir.kr/"];
imgList_7 = ["https://blog.kakaocdn.net/dn/cKhXce/btq5Ttp4eBk/ZADYMqqTmFkkuwX9Tt55AK/img.jpg", "그누보드<br>SIR.KR", "https://sir.kr/"];
imgList_8 = ["https://blog.kakaocdn.net/dn/d5MZRr/btq5TrZ5wRz/uIGtc7icn0wmhVpBsa2KsK/img.jpg", "그누보드<br>SIR.KR", "https://sir.kr/"];
imgList_9 = ["https://blog.kakaocdn.net/dn/bMaFXG/btq5TsScxSU/D6C1UMQ6e2fJezv0rlvmN1/img.jpg", "그누보드<br>SIR.KR", "https://sir.kr/"];
imgList_10 = ["https://blog.kakaocdn.net/dn/9u24l/btq5TtwUlyZ/ao3o9xmnYWJ977KtV0irAk/img.jpg", "그누보드<br>SIR.KR", "https://sir.kr/"];
imgList_11 = ["https://blog.kakaocdn.net/dn/bLBwe9/btq5RvIYCwg/GJuD0y78AHG9qa4sEFornk/img.jpg", "그누보드<br>SIR.KR", "https://sir.kr/"];
imgList_12 = ["https://blog.kakaocdn.net/dn/bmoAru/btq5Y7lvPVC/7nkHZyrt3h8eDBvWjCcCT0/img.jpg", "그누보드<br>SIR.KR", "https://sir.kr/"];
imgList_13 = ["https://blog.kakaocdn.net/dn/cohhuV/btq5SykVnIL/EXwGM77ss40KLTxvt3m6q1/img.jpg", "그누보드<br>SIR.KR", "https://sir.kr/"];
imgList_14 = ["https://blog.kakaocdn.net/dn/cHsRIh/btq5Y8kpUBx/2DLWaYAtM1ldFckdP6ODP1/img.jpg", "그누보드<br>SIR.KR", "https://sir.kr/"];
imgList_15 = ["https://blog.kakaocdn.net/dn/cXP9Wn/btq5Ruwrvsf/FXtbmllQUGsRZdVTO0BCu1/img.jpg", "그누보드<br>SIR.KR", "https://sir.kr/"];
imgList_16 = ["https://blog.kakaocdn.net/dn/uhsWd/btq5WONZdSe/MmlQhALVNwWWzWz11i9vwK/img.jpg", "그누보드<br>SIR.KR", "https://sir.kr/"];
imgList_17 = ["https://blog.kakaocdn.net/dn/cPmplq/btq5YrxKFWE/vvEdp4EAOXXXo7zYqILK4k/img.jpg", "그누보드<br>SIR.KR", "https://sir.kr/"];
imgList_18 = ["https://blog.kakaocdn.net/dn/kIAaG/btq5SxsGf4O/iVAwk9NnzFGJBVumuabQP0/img.jpg", "그누보드<br>SIR.KR", "https://sir.kr/"];
imgList_19 = ["https://blog.kakaocdn.net/dn/c0ek8U/btq5XKYDp5P/xo9tB3oLTh3GuxlztCKik0/img.jpg", "그누보드<br>SIR.KR", "https://sir.kr/"];
imgList_20 = ["https://blog.kakaocdn.net/dn/cuzTkp/btq5Y8SfCy9/LyaeKYrnPB06mQsM7ETMNk/img.jpg", "그누보드<br>SIR.KR", "https://sir.kr/"];
for (imgTotal = 0; this['imgList_' + (imgTotal + 1)]; imgTotal++);
</script>
<style>
@import url(http://cdn.jsdelivr.net/font-nanum/1.0/nanumbarungothic/nanumbarungothic.css);
.listDiv { height:100%; font-size:9pt; font-family:'Nanum Barun Gothic'; color:#000000; text-align:center; opacity:0; cursor:pointer; background:linear-gradient(rgba(0,0,0,0) 70%, rgba(255,255,255,0.7) 70%); }
</style>
<div id=imgDiv style=width:720px;overflow:hidden>
<script>
document.write("<table style=width:" + (imgDiv.clientWidth + imageGapPixel) + "px cellpadding=0 cellspacing=0>");
plusList = "</tr><tr><td style=height:" + imageGapPixel + "px></td></tr><tr>";
for (i = 1; i <= imgTotal; i++) {
basicList = "<td onclick=window.open('" + this['imgList_' + i][2] + "') style=padding-right:" + imageGapPixel + "px><div id=imgBtn_" + i + " style=background-image:url(" + this['imgList_' + i][0] + ");background-size:100%;border-radius:" + radiusPercent + "%><div class=listDiv onmouseover=style.opacity='1' onmouseout=style.opacity='0' style=border-radius:" + radiusPercent + "%><div id=textDiv_" + i + " style=padding-top:" + textMarginPercent + "%>" + this['imgList_' + i][1] + "</div></div></div></td>";
if (i % cutNum == 0 && i != imgTotal) document.write(basicList + plusList);
else document.write(basicList);
}
for (i = 1; i <= imgTotal; i++) this["imgBtn_" + i].style.height = this["imgBtn_" + i].clientWidth + 'px';
document.write("</tr></table>");
</script>
</div>
- 이전글Image Gallery 24.09.07
- 다음글AJAX 24.09.03
댓글목록
등록된 댓글이 없습니다.