이미지 없이 라운딩 박스 + 보더 표현하기 입니다.
<script>
function round(elm, bgcolor, border, mode) {
var top = document.createElement('div'); top.style.cssText = 'height:5px';
var bottom = document.createElement('div');bottom.style.cssText = 'height:5px';
var temp = document.createElement('div'); temp.setAttribute('id', 'template');
var border2 = (border) ? ";border-left:2px solid "+border+";border-right:2px solid "+border : "";
var border1 = (border) ? ";border-left:1px solid "+border+";border-right:1px solid "+border : "";
var bgcolor2 = (bgcolor) ? ";background:"+bgcolor : "";
var bgcolor1 = (border) ? ";background:" + border : (bgcolor) ? ";background:" + bgcolor : "";
var top_r = new Array(), bottom_r =new Array;
var box = elm.cloneNode(true)
for (i=1; i < 5 ;i++ )
{ top_r[i] = document.createElement('div')}
top_r[1].style.cssText = 'margin:0px 5px;height:1px' + bgcolor1 ;
top_r[2].style.cssText = 'margin:0px 3px;height:1px' + border2 + bgcolor2;
top_r[3].style.cssText = 'margin:0px 2px;height:1px' + border1 + bgcolor2;
top_r[4].style.cssText = 'margin:0px 1px;height:2px' + border1 + bgcolor2;
for (i=1; i < 5 ;i++ ) {
if (mode!='bottom') { top.appendChild(top_r[i]);temp.appendChild(top); }
bottom_r[i] = top_r[i].cloneNode(true);
}
temp.appendChild(box);
box.style.cssText = border1 + bgcolor2;
temp.appendChild(bottom);
if (mode!='top') {
for (i=4; i > 0 ;i-- ) {
bottom.appendChild(bottom_r[i]);
}
}
elm.parentNode.replaceChild(temp, elm);
}
</script>
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 130 | 20년 전 | 3989 | ||
| 129 | 20년 전 | 2927 | ||
| 128 | 20년 전 | 3665 | ||
| 127 | 20년 전 | 3491 | ||
| 126 | 20년 전 | 3752 | ||
| 125 | 20년 전 | 8581 | ||
| 124 | 20년 전 | 2597 | ||
| 123 | 20년 전 | 3742 | ||
| 122 | 20년 전 | 3204 | ||
| 121 | 20년 전 | 2606 | ||
| 120 | 20년 전 | 2662 | ||
| 119 | 20년 전 | 2578 | ||
| 118 | 20년 전 | 2858 | ||
| 117 |
|
20년 전 | 3050 | |
| 116 | 20년 전 | 5300 | ||
| 115 | 20년 전 | 3915 | ||
| 114 | 20년 전 | 4963 | ||
| 113 | 20년 전 | 6206 | ||
| 112 | 20년 전 | 7319 | ||
| 111 | 20년 전 | 18427 | ||
| 110 | 20년 전 | 6870 | ||
| 109 | 20년 전 | 2871 | ||
| 108 | 20년 전 | 4136 | ||
| 107 |
prosper
|
20년 전 | 2489 | |
| 106 |
prosper
|
20년 전 | 4313 | |
| 105 |
아우겐나이스
|
20년 전 | 2907 | |
| 104 | 20년 전 | 2255 | ||
| 103 | 20년 전 | 2473 | ||
| 102 | 20년 전 | 2243 | ||
| 101 | 20년 전 | 2570 | ||
| 100 | 20년 전 | 1742 | ||
| 99 | 20년 전 | 1562 | ||
| 98 | 20년 전 | 1614 | ||
| 97 | 20년 전 | 2124 | ||
| 96 | 20년 전 | 1869 | ||
| 95 | 20년 전 | 2368 | ||
| 94 | 20년 전 | 3561 | ||
| 93 | 20년 전 | 1557 | ||
| 92 | 20년 전 | 1750 | ||
| 91 | 20년 전 | 3177 | ||
| 90 | 20년 전 | 2339 | ||
| 89 | 20년 전 | 3165 | ||
| 88 | 20년 전 | 2868 | ||
| 87 | 20년 전 | 3292 | ||
| 86 | 20년 전 | 5126 | ||
| 85 | 20년 전 | 2515 | ||
| 84 | 20년 전 | 4821 | ||
| 83 | 20년 전 | 2499 | ||
| 82 | 20년 전 | 3116 | ||
| 81 | 20년 전 | 7618 | ||
| 80 | 20년 전 | 3818 | ||
| 79 | 20년 전 | 3204 | ||
| 78 | 20년 전 | 4690 | ||
| 77 | 20년 전 | 2893 | ||
| 76 | 20년 전 | 6212 | ||
| 75 | 20년 전 | 4470 | ||
| 74 | 20년 전 | 5777 | ||
| 73 | 20년 전 | 3621 | ||
| 72 | 20년 전 | 5963 | ||
| 71 | 20년 전 | 3109 | ||
| 70 | 20년 전 | 2833 | ||
| 69 | 20년 전 | 2634 | ||
| 68 | 20년 전 | 2443 | ||
| 67 | 20년 전 | 2648 | ||
| 66 | 20년 전 | 2666 | ||
| 65 | 20년 전 | 3783 | ||
| 64 | 20년 전 | 2820 | ||
| 63 | 20년 전 | 2452 | ||
| 62 | 20년 전 | 2261 | ||
| 61 | 20년 전 | 3065 | ||
| 60 | 20년 전 | 3129 | ||
| 59 | 20년 전 | 2508 | ||
| 58 | 20년 전 | 2587 | ||
| 57 | 20년 전 | 2962 | ||
| 56 | 20년 전 | 2314 | ||
| 55 | 20년 전 | 2757 | ||
| 54 | 20년 전 | 2124 | ||
| 53 | 20년 전 | 2346 | ||
| 52 | 20년 전 | 2693 | ||
| 51 |
prosper
|
21년 전 | 2346 | |
| 50 |
prosper
|
21년 전 | 2164 | |
| 49 | 21년 전 | 2173 | ||
| 48 | 21년 전 | 2329 | ||
| 47 | 21년 전 | 1927 | ||
| 46 | 21년 전 | 1927 | ||
| 45 | 21년 전 | 2130 | ||
| 44 | 21년 전 | 2355 | ||
| 43 | 21년 전 | 4568 | ||
| 42 |
prosper
|
21년 전 | 2712 | |
| 41 |
prosper
|
21년 전 | 2110 | |
| 40 | 21년 전 | 2178 | ||
| 39 | 21년 전 | 2141 | ||
| 38 | 21년 전 | 2416 | ||
| 37 | 21년 전 | 2561 | ||
| 36 | 21년 전 | 1769 | ||
| 35 | 21년 전 | 4069 | ||
| 34 | 21년 전 | 3849 | ||
| 33 | 21년 전 | 2989 | ||
| 32 |
prosper
|
21년 전 | 2897 | |
| 31 | 21년 전 | 5272 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기