이미지 없이 라운딩 박스 + 보더 표현하기 입니다.
<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년 전 | 2332 | ||
| 629 |
|
19년 전 | 1998 | |
| 628 |
|
19년 전 | 3096 | |
| 627 |
|
19년 전 | 2010 | |
| 626 |
|
19년 전 | 2048 | |
| 625 |
|
19년 전 | 1703 | |
| 624 |
|
19년 전 | 2208 | |
| 623 | 19년 전 | 2184 | ||
| 622 |
|
19년 전 | 2485 | |
| 621 |
|
19년 전 | 2876 | |
| 620 |
|
19년 전 | 2382 | |
| 619 | 19년 전 | 2447 | ||
| 618 | 19년 전 | 3503 | ||
| 617 |
|
19년 전 | 3218 | |
| 616 |
|
19년 전 | 3205 | |
| 615 |
|
19년 전 | 3019 | |
| 614 |
|
19년 전 | 2027 | |
| 613 |
|
19년 전 | 2345 | |
| 612 |
|
19년 전 | 2226 | |
| 611 |
|
19년 전 | 2062 | |
| 610 |
|
19년 전 | 2501 | |
| 609 |
|
19년 전 | 2410 | |
| 608 |
|
19년 전 | 2800 | |
| 607 | 19년 전 | 2176 | ||
| 606 | 19년 전 | 3499 | ||
| 605 | 19년 전 | 1968 | ||
| 604 | 19년 전 | 2571 | ||
| 603 | 19년 전 | 1600 | ||
| 602 |
|
19년 전 | 2827 | |
| 601 | 19년 전 | 3067 | ||
| 600 |
|
19년 전 | 2152 | |
| 599 | 19년 전 | 1991 | ||
| 598 | 19년 전 | 2464 | ||
| 597 | 19년 전 | 2377 | ||
| 596 |
|
19년 전 | 3067 | |
| 595 |
|
19년 전 | 6744 | |
| 594 | 19년 전 | 2703 | ||
| 593 | 19년 전 | 3178 | ||
| 592 |
|
19년 전 | 3076 | |
| 591 |
|
19년 전 | 1917 | |
| 590 | 19년 전 | 3357 | ||
| 589 | 19년 전 | 2186 | ||
| 588 |
|
19년 전 | 2694 | |
| 587 | 19년 전 | 2337 | ||
| 586 |
|
19년 전 | 4350 | |
| 585 | 19년 전 | 2470 | ||
| 584 | 19년 전 | 2739 | ||
| 583 |
|
19년 전 | 3504 | |
| 582 |
|
19년 전 | 3706 | |
| 581 |
|
19년 전 | 3231 | |
| 580 | 19년 전 | 2470 | ||
| 579 | 19년 전 | 3042 | ||
| 578 | 19년 전 | 3908 | ||
| 577 | 19년 전 | 3784 | ||
| 576 | 19년 전 | 1717 | ||
| 575 |
|
19년 전 | 2189 | |
| 574 |
|
19년 전 | 5395 | |
| 573 | 19년 전 | 6698 | ||
| 572 | 19년 전 | 2551 | ||
| 571 | 19년 전 | 2101 | ||
| 570 | 19년 전 | 2593 | ||
| 569 | 19년 전 | 3259 | ||
| 568 | 19년 전 | 3500 | ||
| 567 | 19년 전 | 2974 | ||
| 566 | 19년 전 | 2586 | ||
| 565 |
|
19년 전 | 4698 | |
| 564 |
|
19년 전 | 6705 | |
| 563 |
|
19년 전 | 4971 | |
| 562 |
|
19년 전 | 5934 | |
| 561 |
|
19년 전 | 2672 | |
| 560 |
|
19년 전 | 2492 | |
| 559 |
|
19년 전 | 2201 | |
| 558 |
|
19년 전 | 2287 | |
| 557 | 19년 전 | 4581 | ||
| 556 |
|
19년 전 | 4644 | |
| 555 | 19년 전 | 2488 | ||
| 554 | 19년 전 | 2167 | ||
| 553 | 19년 전 | 2496 | ||
| 552 |
|
19년 전 | 3134 | |
| 551 | 19년 전 | 2924 | ||
| 550 |
|
19년 전 | 1883 | |
| 549 |
|
19년 전 | 1943 | |
| 548 |
|
19년 전 | 3134 | |
| 547 |
|
19년 전 | 2354 | |
| 546 |
|
19년 전 | 3609 | |
| 545 |
|
19년 전 | 2534 | |
| 544 |
|
19년 전 | 1839 | |
| 543 |
|
19년 전 | 2444 | |
| 542 |
|
19년 전 | 1709 | |
| 541 |
|
19년 전 | 1392 | |
| 540 |
|
19년 전 | 1522 | |
| 539 |
|
19년 전 | 1790 | |
| 538 |
|
19년 전 | 1565 | |
| 537 |
|
19년 전 | 1765 | |
| 536 |
|
19년 전 | 1551 | |
| 535 |
|
19년 전 | 1944 | |
| 534 |
|
19년 전 | 1832 | |
| 533 |
|
19년 전 | 1430 | |
| 532 |
|
19년 전 | 1432 | |
| 531 |
|
19년 전 | 1346 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기