이미지 없이 라운딩 박스 + 보더 표현하기 입니다.
<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년 전 | 584 | ||
| 8129 |
|
9년 전 | 702 | |
| 8128 | 9년 전 | 554 | ||
| 8127 |
|
9년 전 | 599 | |
| 8126 | 9년 전 | 535 | ||
| 8125 | 9년 전 | 784 | ||
| 8124 |
|
9년 전 | 544 | |
| 8123 | 9년 전 | 533 | ||
| 8122 | 9년 전 | 459 | ||
| 8121 | 9년 전 | 573 | ||
| 8120 | 9년 전 | 487 | ||
| 8119 | 9년 전 | 577 | ||
| 8118 |
|
9년 전 | 654 | |
| 8117 |
|
9년 전 | 419 | |
| 8116 |
PASKRAN
|
9년 전 | 480 | |
| 8115 | 9년 전 | 478 | ||
| 8114 |
kiplayer
|
9년 전 | 617 | |
| 8113 | 9년 전 | 474 | ||
| 8112 |
|
9년 전 | 585 | |
| 8111 | 9년 전 | 420 | ||
| 8110 | 9년 전 | 463 | ||
| 8109 | 9년 전 | 391 | ||
| 8108 |
|
9년 전 | 569 | |
| 8107 |
|
9년 전 | 457 | |
| 8106 |
|
9년 전 | 458 | |
| 8105 | 9년 전 | 492 | ||
| 8104 |
|
9년 전 | 454 | |
| 8103 |
|
9년 전 | 457 | |
| 8102 |
|
9년 전 | 428 | |
| 8101 |
snshero
|
9년 전 | 818 | |
| 8100 | 9년 전 | 859 | ||
| 8099 | 9년 전 | 838 | ||
| 8098 | 9년 전 | 741 | ||
| 8097 | 9년 전 | 545 | ||
| 8096 | 9년 전 | 749 | ||
| 8095 | 9년 전 | 884 | ||
| 8094 | 9년 전 | 559 | ||
| 8093 | 9년 전 | 838 | ||
| 8092 | 9년 전 | 780 | ||
| 8091 | 9년 전 | 1165 | ||
| 8090 | 9년 전 | 794 | ||
| 8089 | 9년 전 | 1002 | ||
| 8088 | 9년 전 | 666 | ||
| 8087 | 9년 전 | 791 | ||
| 8086 | 9년 전 | 541 | ||
| 8085 | 9년 전 | 506 | ||
| 8084 | 9년 전 | 629 | ||
| 8083 | 9년 전 | 596 | ||
| 8082 | 9년 전 | 788 | ||
| 8081 | 9년 전 | 499 | ||
| 8080 | 9년 전 | 597 | ||
| 8079 | 9년 전 | 554 | ||
| 8078 | 9년 전 | 471 | ||
| 8077 | 9년 전 | 561 | ||
| 8076 | 9년 전 | 429 | ||
| 8075 | 9년 전 | 461 | ||
| 8074 | 9년 전 | 431 | ||
| 8073 | 9년 전 | 486 | ||
| 8072 | 9년 전 | 473 | ||
| 8071 |
o1o111
|
9년 전 | 925 | |
| 8070 | 9년 전 | 435 | ||
| 8069 | 9년 전 | 373 | ||
| 8068 | 9년 전 | 622 | ||
| 8067 | 9년 전 | 420 | ||
| 8066 | 9년 전 | 447 | ||
| 8065 | 9년 전 | 408 | ||
| 8064 | 9년 전 | 401 | ||
| 8063 | 9년 전 | 371 | ||
| 8062 | 9년 전 | 339 | ||
| 8061 | 9년 전 | 377 | ||
| 8060 | 9년 전 | 418 | ||
| 8059 | 9년 전 | 356 | ||
| 8058 | 9년 전 | 293 | ||
| 8057 | 9년 전 | 418 | ||
| 8056 | 9년 전 | 338 | ||
| 8055 | 9년 전 | 388 | ||
| 8054 | 9년 전 | 391 | ||
| 8053 | 9년 전 | 443 | ||
| 8052 | 9년 전 | 313 | ||
| 8051 | 9년 전 | 361 | ||
| 8050 | 9년 전 | 420 | ||
| 8049 | 9년 전 | 350 | ||
| 8048 | 9년 전 | 454 | ||
| 8047 | 9년 전 | 394 | ||
| 8046 | 9년 전 | 337 | ||
| 8045 | 9년 전 | 285 | ||
| 8044 | 9년 전 | 379 | ||
| 8043 | 9년 전 | 332 | ||
| 8042 | 9년 전 | 324 | ||
| 8041 | 9년 전 | 383 | ||
| 8040 | 9년 전 | 300 | ||
| 8039 | 9년 전 | 345 | ||
| 8038 | 9년 전 | 285 | ||
| 8037 | 9년 전 | 430 | ||
| 8036 | 9년 전 | 520 | ||
| 8035 | 9년 전 | 455 | ||
| 8034 | 9년 전 | 412 | ||
| 8033 | 9년 전 | 374 | ||
| 8032 | 9년 전 | 480 | ||
| 8031 | 9년 전 | 371 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기