이미지 없이 라운딩 박스 + 보더 표현하기 입니다.
<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>
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 7830 | 9년 전 | 444 | ||
| 7829 |
|
9년 전 | 627 | |
| 7828 | 10년 전 | 556 | ||
| 7827 | 10년 전 | 453 | ||
| 7826 | 10년 전 | 459 | ||
| 7825 | 10년 전 | 502 | ||
| 7824 | 10년 전 | 462 | ||
| 7823 | 10년 전 | 407 | ||
| 7822 | 10년 전 | 382 | ||
| 7821 | 10년 전 | 326 | ||
| 7820 | 10년 전 | 360 | ||
| 7819 |
|
10년 전 | 760 | |
| 7818 | 10년 전 | 406 | ||
| 7817 | 10년 전 | 555 | ||
| 7816 | 10년 전 | 427 | ||
| 7815 | 10년 전 | 622 | ||
| 7814 | 10년 전 | 455 | ||
| 7813 | 10년 전 | 407 | ||
| 7812 | 10년 전 | 421 | ||
| 7811 | 10년 전 | 405 | ||
| 7810 | 10년 전 | 592 | ||
| 7809 | 10년 전 | 523 | ||
| 7808 | 10년 전 | 404 | ||
| 7807 | 10년 전 | 427 | ||
| 7806 |
프로그래머7
|
10년 전 | 1352 | |
| 7805 | 10년 전 | 1294 | ||
| 7804 |
zahir1312
|
10년 전 | 792 | |
| 7803 |
|
10년 전 | 1392 | |
| 7802 | 10년 전 | 486 | ||
| 7801 | 10년 전 | 876 | ||
| 7800 | 10년 전 | 1094 | ||
| 7799 | 10년 전 | 575 | ||
| 7798 | 10년 전 | 531 | ||
| 7797 | 10년 전 | 540 | ||
| 7796 | 10년 전 | 378 | ||
| 7795 | 10년 전 | 531 | ||
| 7794 | 10년 전 | 576 | ||
| 7793 | 10년 전 | 1075 | ||
| 7792 | 10년 전 | 494 | ||
| 7791 | 10년 전 | 579 | ||
| 7790 | 10년 전 | 523 | ||
| 7789 |
fbastore
|
10년 전 | 1464 | |
| 7788 | 10년 전 | 571 | ||
| 7787 | 10년 전 | 425 | ||
| 7786 | 10년 전 | 623 | ||
| 7785 | 10년 전 | 608 | ||
| 7784 | 10년 전 | 664 | ||
| 7783 | 10년 전 | 472 | ||
| 7782 | 10년 전 | 511 | ||
| 7781 | 10년 전 | 916 | ||
| 7780 | 10년 전 | 838 | ||
| 7779 | 10년 전 | 787 | ||
| 7778 | 10년 전 | 374 | ||
| 7777 | 10년 전 | 484 | ||
| 7776 | 10년 전 | 479 | ||
| 7775 | 10년 전 | 420 | ||
| 7774 | 10년 전 | 639 | ||
| 7773 | 10년 전 | 395 | ||
| 7772 | 10년 전 | 755 | ||
| 7771 | 10년 전 | 411 | ||
| 7770 | 10년 전 | 657 | ||
| 7769 | 10년 전 | 409 | ||
| 7768 | 10년 전 | 631 | ||
| 7767 | 10년 전 | 1192 | ||
| 7766 | 10년 전 | 513 | ||
| 7765 | 10년 전 | 562 | ||
| 7764 |
잘살아보자
|
10년 전 | 417 | |
| 7763 |
|
10년 전 | 1483 | |
| 7762 |
Tosea
|
10년 전 | 1077 | |
| 7761 | 10년 전 | 669 | ||
| 7760 |
잘살아보자
|
10년 전 | 712 | |
| 7759 |
잘살아보자
|
10년 전 | 550 | |
| 7758 |
잘살아보자
|
10년 전 | 616 | |
| 7757 | 10년 전 | 1256 | ||
| 7756 |
ITBANK
|
10년 전 | 1271 | |
| 7755 | 10년 전 | 1937 | ||
| 7754 | 10년 전 | 1077 | ||
| 7753 | 10년 전 | 899 | ||
| 7752 | 10년 전 | 1412 | ||
| 7751 |
잘살아보자
|
10년 전 | 555 | |
| 7750 |
잘살아보자
|
10년 전 | 491 | |
| 7749 |
잘살아보자
|
10년 전 | 507 | |
| 7748 |
잘살아보자
|
10년 전 | 529 | |
| 7747 |
잘살아보자
|
10년 전 | 610 | |
| 7746 |
잘살아보자
|
10년 전 | 692 | |
| 7745 |
잘살아보자
|
10년 전 | 931 | |
| 7744 |
잘살아보자
|
10년 전 | 433 | |
| 7743 | 10년 전 | 959 | ||
| 7742 |
starbros
|
10년 전 | 855 | |
| 7741 |
잘살아보자
|
10년 전 | 690 | |
| 7740 |
잘살아보자
|
10년 전 | 570 | |
| 7739 |
잘살아보자
|
10년 전 | 476 | |
| 7738 |
잘살아보자
|
10년 전 | 554 | |
| 7737 |
잘살아보자
|
10년 전 | 526 | |
| 7736 |
잘살아보자
|
10년 전 | 542 | |
| 7735 |
잘살아보자
|
10년 전 | 876 | |
| 7734 |
잘살아보자
|
10년 전 | 442 | |
| 7733 |
잘살아보자
|
10년 전 | 555 | |
| 7732 |
잘살아보자
|
10년 전 | 715 | |
| 7731 |
잘살아보자
|
10년 전 | 634 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기