이미지 없이 라운딩 박스 + 보더 표현하기 입니다.
<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>
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 630 | 19년 전 | 2333 | ||
| 629 |
|
19년 전 | 1998 | |
| 628 |
|
19년 전 | 3100 | |
| 627 |
|
19년 전 | 2013 | |
| 626 |
|
19년 전 | 2058 | |
| 625 |
|
19년 전 | 1707 | |
| 624 |
|
19년 전 | 2209 | |
| 623 | 19년 전 | 2187 | ||
| 622 |
|
19년 전 | 2494 | |
| 621 |
|
19년 전 | 2883 | |
| 620 |
|
19년 전 | 2389 | |
| 619 | 19년 전 | 2453 | ||
| 618 | 19년 전 | 3503 | ||
| 617 |
|
19년 전 | 3219 | |
| 616 |
|
19년 전 | 3209 | |
| 615 |
|
19년 전 | 3022 | |
| 614 |
|
19년 전 | 2030 | |
| 613 |
|
19년 전 | 2355 | |
| 612 |
|
19년 전 | 2227 | |
| 611 |
|
19년 전 | 2065 | |
| 610 |
|
19년 전 | 2502 | |
| 609 |
|
19년 전 | 2413 | |
| 608 |
|
19년 전 | 2802 | |
| 607 | 19년 전 | 2181 | ||
| 606 | 19년 전 | 3503 | ||
| 605 | 19년 전 | 1975 | ||
| 604 | 19년 전 | 2578 | ||
| 603 | 19년 전 | 1600 | ||
| 602 |
|
19년 전 | 2827 | |
| 601 | 19년 전 | 3069 | ||
| 600 |
|
19년 전 | 2152 | |
| 599 | 19년 전 | 1992 | ||
| 598 | 19년 전 | 2466 | ||
| 597 | 19년 전 | 2379 | ||
| 596 |
|
19년 전 | 3068 | |
| 595 |
|
19년 전 | 6744 | |
| 594 | 19년 전 | 2703 | ||
| 593 | 19년 전 | 3179 | ||
| 592 |
|
19년 전 | 3080 | |
| 591 |
|
19년 전 | 1918 | |
| 590 | 19년 전 | 3359 | ||
| 589 | 19년 전 | 2197 | ||
| 588 |
|
19년 전 | 2698 | |
| 587 | 19년 전 | 2338 | ||
| 586 |
|
19년 전 | 4351 | |
| 585 | 19년 전 | 2472 | ||
| 584 | 19년 전 | 2742 | ||
| 583 |
|
19년 전 | 3507 | |
| 582 |
|
19년 전 | 3709 | |
| 581 |
|
19년 전 | 3234 | |
| 580 | 19년 전 | 2471 | ||
| 579 | 19년 전 | 3045 | ||
| 578 | 19년 전 | 3935 | ||
| 577 | 19년 전 | 3788 | ||
| 576 | 19년 전 | 1727 | ||
| 575 |
|
19년 전 | 2191 | |
| 574 |
|
19년 전 | 5396 | |
| 573 | 19년 전 | 6702 | ||
| 572 | 19년 전 | 2551 | ||
| 571 | 19년 전 | 2101 | ||
| 570 | 19년 전 | 2594 | ||
| 569 | 19년 전 | 3272 | ||
| 568 | 19년 전 | 3508 | ||
| 567 | 19년 전 | 2978 | ||
| 566 | 19년 전 | 2588 | ||
| 565 |
|
19년 전 | 4703 | |
| 564 |
|
19년 전 | 6711 | |
| 563 |
|
19년 전 | 4980 | |
| 562 |
|
19년 전 | 5936 | |
| 561 |
|
19년 전 | 2674 | |
| 560 |
|
19년 전 | 2509 | |
| 559 |
|
19년 전 | 2208 | |
| 558 |
|
19년 전 | 2290 | |
| 557 | 19년 전 | 4582 | ||
| 556 |
|
19년 전 | 4649 | |
| 555 | 19년 전 | 2492 | ||
| 554 | 19년 전 | 2168 | ||
| 553 | 19년 전 | 2503 | ||
| 552 |
|
19년 전 | 3138 | |
| 551 | 19년 전 | 2926 | ||
| 550 |
|
19년 전 | 1884 | |
| 549 |
|
19년 전 | 1946 | |
| 548 |
|
19년 전 | 3135 | |
| 547 |
|
19년 전 | 2355 | |
| 546 |
|
19년 전 | 3609 | |
| 545 |
|
19년 전 | 2534 | |
| 544 |
|
19년 전 | 1842 | |
| 543 |
|
19년 전 | 2447 | |
| 542 |
|
19년 전 | 1713 | |
| 541 |
|
19년 전 | 1397 | |
| 540 |
|
19년 전 | 1524 | |
| 539 |
|
19년 전 | 1791 | |
| 538 |
|
19년 전 | 1568 | |
| 537 |
|
19년 전 | 1766 | |
| 536 |
|
19년 전 | 1554 | |
| 535 |
|
19년 전 | 1949 | |
| 534 |
|
19년 전 | 1834 | |
| 533 |
|
19년 전 | 1433 | |
| 532 |
|
19년 전 | 1432 | |
| 531 |
|
19년 전 | 1348 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기