이미지 없이 라운딩 박스 + 보더 표현하기 입니다.
<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>
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 1030 | 18년 전 | 1790 | ||
| 1029 | 18년 전 | 2224 | ||
| 1028 | 18년 전 | 2632 | ||
| 1027 | 18년 전 | 1796 | ||
| 1026 | 18년 전 | 1534 | ||
| 1025 | 18년 전 | 1544 | ||
| 1024 | 18년 전 | 1467 | ||
| 1023 | 18년 전 | 3230 | ||
| 1022 | 18년 전 | 2917 | ||
| 1021 | 18년 전 | 1678 | ||
| 1020 | 18년 전 | 3420 | ||
| 1019 | 18년 전 | 1846 | ||
| 1018 | 18년 전 | 1496 | ||
| 1017 | 18년 전 | 1962 | ||
| 1016 | 18년 전 | 2102 | ||
| 1015 | 18년 전 | 1638 | ||
| 1014 | 18년 전 | 2350 | ||
| 1013 | 18년 전 | 2007 | ||
| 1012 | 18년 전 | 1629 | ||
| 1011 | 18년 전 | 1787 | ||
| 1010 | 18년 전 | 2043 | ||
| 1009 | 18년 전 | 1808 | ||
| 1008 | 18년 전 | 1622 | ||
| 1007 | 18년 전 | 1668 | ||
| 1006 | 18년 전 | 3135 | ||
| 1005 | 18년 전 | 2004 | ||
| 1004 | 18년 전 | 1876 | ||
| 1003 | 18년 전 | 4372 | ||
| 1002 | 18년 전 | 4997 | ||
| 1001 | 18년 전 | 3167 | ||
| 1000 | 18년 전 | 2915 | ||
| 999 | 18년 전 | 3505 | ||
| 998 | 18년 전 | 2054 | ||
| 997 | 18년 전 | 2416 | ||
| 996 | 18년 전 | 2706 | ||
| 995 | 18년 전 | 2763 | ||
| 994 | 18년 전 | 2354 | ||
| 993 | 18년 전 | 1619 | ||
| 992 | 18년 전 | 3382 | ||
| 991 | 19년 전 | 1997 | ||
| 990 | 19년 전 | 2391 | ||
| 989 | 19년 전 | 2464 | ||
| 988 | 19년 전 | 2891 | ||
| 987 | 19년 전 | 5223 | ||
| 986 |
|
19년 전 | 2496 | |
| 985 |
|
19년 전 | 3349 | |
| 984 | 19년 전 | 4280 | ||
| 983 |
느낌좋은날
|
19년 전 | 2509 | |
| 982 | 19년 전 | 2473 | ||
| 981 | 19년 전 | 4044 | ||
| 980 | 19년 전 | 2750 | ||
| 979 |
Sinpre
|
19년 전 | 2997 | |
| 978 | 19년 전 | 2210 | ||
| 977 | 19년 전 | 2225 | ||
| 976 | 19년 전 | 1994 | ||
| 975 | 19년 전 | 3275 | ||
| 974 | 19년 전 | 2110 | ||
| 973 |
|
19년 전 | 2795 | |
| 972 |
|
19년 전 | 1749 | |
| 971 | 19년 전 | 5324 | ||
| 970 | 19년 전 | 3579 | ||
| 969 | 19년 전 | 4328 | ||
| 968 | 19년 전 | 3070 | ||
| 967 | 19년 전 | 2528 | ||
| 966 | 19년 전 | 3931 | ||
| 965 | 19년 전 | 2664 | ||
| 964 | 19년 전 | 3002 | ||
| 963 | 19년 전 | 2972 | ||
| 962 | 19년 전 | 4186 | ||
| 961 | 19년 전 | 3130 | ||
| 960 | 19년 전 | 3026 | ||
| 959 | 19년 전 | 3679 | ||
| 958 | 19년 전 | 2978 | ||
| 957 | 19년 전 | 2194 | ||
| 956 | 19년 전 | 2226 | ||
| 955 | 19년 전 | 2180 | ||
| 954 | 19년 전 | 2772 | ||
| 953 | 19년 전 | 2482 | ||
| 952 | 19년 전 | 3353 | ||
| 951 | 19년 전 | 3209 | ||
| 950 | 19년 전 | 1827 | ||
| 949 | 19년 전 | 2740 | ||
| 948 | 19년 전 | 7830 | ||
| 947 |
|
19년 전 | 2504 | |
| 946 |
DeepnBlue
|
19년 전 | 3112 | |
| 945 |
pearly
|
19년 전 | 2888 | |
| 944 | 19년 전 | 3029 | ||
| 943 |
|
19년 전 | 2234 | |
| 942 | 19년 전 | 2455 | ||
| 941 |
|
19년 전 | 4079 | |
| 940 | 19년 전 | 2235 | ||
| 939 |
|
19년 전 | 4220 | |
| 938 |
|
19년 전 | 2386 | |
| 937 | 19년 전 | 2086 | ||
| 936 |
|
19년 전 | 2331 | |
| 935 | 19년 전 | 1880 | ||
| 934 |
|
19년 전 | 2412 | |
| 933 | 19년 전 | 2206 | ||
| 932 |
|
19년 전 | 3076 | |
| 931 | 19년 전 | 1865 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기