이미지 없이 라운딩 박스 + 보더 표현하기 입니다.
<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>
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 8130 | 9년 전 | 482 | ||
| 8129 |
|
9년 전 | 635 | |
| 8128 | 9년 전 | 507 | ||
| 8127 |
|
9년 전 | 572 | |
| 8126 | 9년 전 | 494 | ||
| 8125 | 9년 전 | 755 | ||
| 8124 |
|
9년 전 | 498 | |
| 8123 | 9년 전 | 485 | ||
| 8122 | 9년 전 | 420 | ||
| 8121 | 9년 전 | 523 | ||
| 8120 | 9년 전 | 452 | ||
| 8119 | 9년 전 | 534 | ||
| 8118 |
|
9년 전 | 619 | |
| 8117 |
|
9년 전 | 392 | |
| 8116 |
PASKRAN
|
9년 전 | 459 | |
| 8115 | 9년 전 | 450 | ||
| 8114 |
kiplayer
|
9년 전 | 592 | |
| 8113 | 9년 전 | 428 | ||
| 8112 |
|
9년 전 | 547 | |
| 8111 | 9년 전 | 399 | ||
| 8110 | 9년 전 | 434 | ||
| 8109 | 9년 전 | 350 | ||
| 8108 |
|
9년 전 | 530 | |
| 8107 |
|
9년 전 | 424 | |
| 8106 |
|
9년 전 | 419 | |
| 8105 | 9년 전 | 463 | ||
| 8104 |
|
9년 전 | 420 | |
| 8103 |
|
9년 전 | 418 | |
| 8102 |
|
9년 전 | 379 | |
| 8101 |
snshero
|
9년 전 | 766 | |
| 8100 | 9년 전 | 823 | ||
| 8099 | 9년 전 | 789 | ||
| 8098 | 9년 전 | 702 | ||
| 8097 | 9년 전 | 496 | ||
| 8096 | 9년 전 | 694 | ||
| 8095 | 9년 전 | 825 | ||
| 8094 | 9년 전 | 496 | ||
| 8093 | 9년 전 | 783 | ||
| 8092 | 9년 전 | 745 | ||
| 8091 | 9년 전 | 1134 | ||
| 8090 | 9년 전 | 755 | ||
| 8089 | 9년 전 | 954 | ||
| 8088 | 9년 전 | 625 | ||
| 8087 | 9년 전 | 740 | ||
| 8086 | 9년 전 | 505 | ||
| 8085 | 9년 전 | 473 | ||
| 8084 | 9년 전 | 604 | ||
| 8083 | 9년 전 | 576 | ||
| 8082 | 9년 전 | 745 | ||
| 8081 | 9년 전 | 458 | ||
| 8080 | 9년 전 | 554 | ||
| 8079 | 9년 전 | 503 | ||
| 8078 | 9년 전 | 430 | ||
| 8077 | 9년 전 | 510 | ||
| 8076 | 9년 전 | 393 | ||
| 8075 | 9년 전 | 416 | ||
| 8074 | 9년 전 | 374 | ||
| 8073 | 9년 전 | 431 | ||
| 8072 | 9년 전 | 424 | ||
| 8071 |
o1o111
|
9년 전 | 874 | |
| 8070 | 9년 전 | 386 | ||
| 8069 | 9년 전 | 316 | ||
| 8068 | 9년 전 | 575 | ||
| 8067 | 9년 전 | 382 | ||
| 8066 | 9년 전 | 413 | ||
| 8065 | 9년 전 | 360 | ||
| 8064 | 9년 전 | 345 | ||
| 8063 | 9년 전 | 317 | ||
| 8062 | 9년 전 | 295 | ||
| 8061 | 9년 전 | 340 | ||
| 8060 | 9년 전 | 367 | ||
| 8059 | 9년 전 | 303 | ||
| 8058 | 9년 전 | 236 | ||
| 8057 | 9년 전 | 373 | ||
| 8056 | 9년 전 | 292 | ||
| 8055 | 9년 전 | 336 | ||
| 8054 | 9년 전 | 345 | ||
| 8053 | 9년 전 | 394 | ||
| 8052 | 9년 전 | 279 | ||
| 8051 | 9년 전 | 315 | ||
| 8050 | 9년 전 | 381 | ||
| 8049 | 9년 전 | 308 | ||
| 8048 | 9년 전 | 420 | ||
| 8047 | 9년 전 | 342 | ||
| 8046 | 9년 전 | 278 | ||
| 8045 | 9년 전 | 242 | ||
| 8044 | 9년 전 | 330 | ||
| 8043 | 9년 전 | 265 | ||
| 8042 | 9년 전 | 278 | ||
| 8041 | 9년 전 | 324 | ||
| 8040 | 9년 전 | 250 | ||
| 8039 | 9년 전 | 304 | ||
| 8038 | 9년 전 | 259 | ||
| 8037 | 9년 전 | 384 | ||
| 8036 | 9년 전 | 459 | ||
| 8035 | 9년 전 | 415 | ||
| 8034 | 9년 전 | 379 | ||
| 8033 | 9년 전 | 336 | ||
| 8032 | 9년 전 | 403 | ||
| 8031 | 9년 전 | 328 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기