이미지 없이 라운딩 박스 + 보더 표현하기 입니다.
<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>
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 6730 |
|
11년 전 | 1105 | |
| 6729 | 11년 전 | 558 | ||
| 6728 |
|
11년 전 | 573 | |
| 6727 | 11년 전 | 2419 | ||
| 6726 | 11년 전 | 596 | ||
| 6725 |
네모웹에이전시
|
11년 전 | 434 | |
| 6724 |
네모웹에이전시
|
11년 전 | 882 | |
| 6723 | 11년 전 | 1012 | ||
| 6722 | 11년 전 | 960 | ||
| 6721 | 11년 전 | 640 | ||
| 6720 | 11년 전 | 1971 | ||
| 6719 | 11년 전 | 2192 | ||
| 6718 | 11년 전 | 1092 | ||
| 6717 |
|
11년 전 | 651 | |
| 6716 | 11년 전 | 2311 | ||
| 6715 | 11년 전 | 7578 | ||
| 6714 | 11년 전 | 2043 | ||
| 6713 | 11년 전 | 773 | ||
| 6712 |
geektoo
|
11년 전 | 1150 | |
| 6711 | 11년 전 | 894 | ||
| 6710 |
sirzzang
|
11년 전 | 2126 | |
| 6709 |
bewitched
|
11년 전 | 1800 | |
| 6708 |
levin
|
11년 전 | 561 | |
| 6707 | 11년 전 | 766 | ||
| 6706 | 11년 전 | 1785 | ||
| 6705 | 11년 전 | 986 | ||
| 6704 |
|
11년 전 | 752 | |
| 6703 | 11년 전 | 413 | ||
| 6702 | 11년 전 | 1093 | ||
| 6701 | 11년 전 | 803 | ||
| 6700 | 11년 전 | 1719 | ||
| 6699 | 11년 전 | 715 | ||
| 6698 |
이박사친구
|
11년 전 | 725 | |
| 6697 | 11년 전 | 1218 | ||
| 6696 | 11년 전 | 618 | ||
| 6695 |
Header
|
11년 전 | 704 | |
| 6694 | 11년 전 | 1160 | ||
| 6693 |
|
11년 전 | 1103 | |
| 6692 | 11년 전 | 1139 | ||
| 6691 | 11년 전 | 1286 | ||
| 6690 |
|
11년 전 | 711 | |
| 6689 | 11년 전 | 895 | ||
| 6688 | 11년 전 | 928 | ||
| 6687 | 11년 전 | 530 | ||
| 6686 |
RGB255
|
11년 전 | 962 | |
| 6685 |
|
11년 전 | 639 | |
| 6684 | 11년 전 | 716 | ||
| 6683 | 11년 전 | 382 | ||
| 6682 | 11년 전 | 1125 | ||
| 6681 | 11년 전 | 1407 | ||
| 6680 | 11년 전 | 433 | ||
| 6679 |
RGB255
|
11년 전 | 380 | |
| 6678 | 11년 전 | 1342 | ||
| 6677 |
|
11년 전 | 426 | |
| 6676 | 11년 전 | 1011 | ||
| 6675 |
디자이너필이
|
11년 전 | 822 | |
| 6674 | 11년 전 | 1242 | ||
| 6673 | 11년 전 | 1314 | ||
| 6672 | 11년 전 | 6023 | ||
| 6671 | 11년 전 | 1333 | ||
| 6670 |
하프의정령
|
11년 전 | 563 | |
| 6669 | 11년 전 | 412 | ||
| 6668 |
공부하고가겠슴다
|
11년 전 | 441 | |
| 6667 |
하프의정령
|
11년 전 | 543 | |
| 6666 | 11년 전 | 786 | ||
| 6665 | 11년 전 | 1409 | ||
| 6664 | 11년 전 | 914 | ||
| 6663 | 11년 전 | 1138 | ||
| 6662 | 11년 전 | 406 | ||
| 6661 |
basketball
|
11년 전 | 506 | |
| 6660 | 11년 전 | 2505 | ||
| 6659 | 11년 전 | 1603 | ||
| 6658 |
|
11년 전 | 1317 | |
| 6657 |
|
11년 전 | 3149 | |
| 6656 | 11년 전 | 560 | ||
| 6655 |
프로프리랜서
|
11년 전 | 2332 | |
| 6654 |
프로프리랜서
|
11년 전 | 1905 | |
| 6653 |
프로프리랜서
|
11년 전 | 1745 | |
| 6652 |
프로프리랜서
|
11년 전 | 1823 | |
| 6651 |
|
11년 전 | 773 | |
| 6650 | 11년 전 | 1314 | ||
| 6649 | 11년 전 | 1313 | ||
| 6648 | 11년 전 | 808 | ||
| 6647 | 11년 전 | 3155 | ||
| 6646 | 11년 전 | 459 | ||
| 6645 | 11년 전 | 963 | ||
| 6644 |
BBAYOUNG
|
11년 전 | 1365 | |
| 6643 | 11년 전 | 1785 | ||
| 6642 | 12년 전 | 635 | ||
| 6641 | 12년 전 | 1332 | ||
| 6640 | 12년 전 | 700 | ||
| 6639 | 12년 전 | 2317 | ||
| 6638 |
jasmin2
|
12년 전 | 744 | |
| 6637 |
geektoo
|
12년 전 | 440 | |
| 6636 | 12년 전 | 656 | ||
| 6635 |
프로프리랜서
|
12년 전 | 2225 | |
| 6634 |
프로프리랜서
|
12년 전 | 1738 | |
| 6633 |
프로프리랜서
|
12년 전 | 4056 | |
| 6632 |
프로프리랜서
|
12년 전 | 1345 | |
| 6631 |
프로프리랜서
|
12년 전 | 1779 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기