이미지 없이 라운딩 박스 + 보더 표현하기 입니다.
<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>
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 7930 | 9년 전 | 481 | ||
| 7929 | 9년 전 | 414 | ||
| 7928 | 9년 전 | 489 | ||
| 7927 | 9년 전 | 392 | ||
| 7926 | 9년 전 | 705 | ||
| 7925 | 9년 전 | 428 | ||
| 7924 | 9년 전 | 413 | ||
| 7923 | 9년 전 | 396 | ||
| 7922 | 9년 전 | 422 | ||
| 7921 | 9년 전 | 437 | ||
| 7920 | 9년 전 | 345 | ||
| 7919 | 9년 전 | 358 | ||
| 7918 | 9년 전 | 511 | ||
| 7917 | 9년 전 | 364 | ||
| 7916 | 9년 전 | 454 | ||
| 7915 | 9년 전 | 474 | ||
| 7914 | 9년 전 | 479 | ||
| 7913 | 9년 전 | 657 | ||
| 7912 | 9년 전 | 491 | ||
| 7911 | 9년 전 | 414 | ||
| 7910 | 9년 전 | 465 | ||
| 7909 | 9년 전 | 579 | ||
| 7908 | 9년 전 | 514 | ||
| 7907 | 9년 전 | 453 | ||
| 7906 | 9년 전 | 473 | ||
| 7905 | 9년 전 | 437 | ||
| 7904 | 9년 전 | 426 | ||
| 7903 | 9년 전 | 435 | ||
| 7902 | 9년 전 | 612 | ||
| 7901 |
|
9년 전 | 778 | |
| 7900 | 9년 전 | 670 | ||
| 7899 | 9년 전 | 458 | ||
| 7898 | 9년 전 | 453 | ||
| 7897 | 9년 전 | 409 | ||
| 7896 | 9년 전 | 426 | ||
| 7895 | 9년 전 | 547 | ||
| 7894 | 9년 전 | 453 | ||
| 7893 | 9년 전 | 429 | ||
| 7892 | 9년 전 | 465 | ||
| 7891 | 9년 전 | 822 | ||
| 7890 | 9년 전 | 1244 | ||
| 7889 | 9년 전 | 778 | ||
| 7888 |
limsy1987
|
9년 전 | 595 | |
| 7887 | 9년 전 | 643 | ||
| 7886 | 9년 전 | 529 | ||
| 7885 | 9년 전 | 501 | ||
| 7884 | 9년 전 | 491 | ||
| 7883 | 9년 전 | 496 | ||
| 7882 | 9년 전 | 555 | ||
| 7881 | 9년 전 | 533 | ||
| 7880 | 9년 전 | 649 | ||
| 7879 | 9년 전 | 538 | ||
| 7878 | 9년 전 | 1305 | ||
| 7877 | 9년 전 | 830 | ||
| 7876 | 9년 전 | 569 | ||
| 7875 | 9년 전 | 643 | ||
| 7874 |
|
10년 전 | 843 | |
| 7873 | 10년 전 | 567 | ||
| 7872 | 10년 전 | 734 | ||
| 7871 | 10년 전 | 548 | ||
| 7870 | 10년 전 | 669 | ||
| 7869 | 10년 전 | 485 | ||
| 7868 | 10년 전 | 524 | ||
| 7867 | 10년 전 | 532 | ||
| 7866 | 10년 전 | 588 | ||
| 7865 | 10년 전 | 533 | ||
| 7864 | 10년 전 | 586 | ||
| 7863 | 10년 전 | 584 | ||
| 7862 | 10년 전 | 552 | ||
| 7861 | 10년 전 | 723 | ||
| 7860 | 10년 전 | 699 | ||
| 7859 | 10년 전 | 468 | ||
| 7858 | 10년 전 | 777 | ||
| 7857 | 10년 전 | 1165 | ||
| 7856 | 10년 전 | 591 | ||
| 7855 | 10년 전 | 830 | ||
| 7854 | 10년 전 | 764 | ||
| 7853 | 10년 전 | 669 | ||
| 7852 | 10년 전 | 585 | ||
| 7851 | 10년 전 | 587 | ||
| 7850 | 10년 전 | 659 | ||
| 7849 | 10년 전 | 434 | ||
| 7848 | 10년 전 | 498 | ||
| 7847 | 10년 전 | 737 | ||
| 7846 | 10년 전 | 520 | ||
| 7845 | 10년 전 | 497 | ||
| 7844 | 10년 전 | 460 | ||
| 7843 | 10년 전 | 500 | ||
| 7842 | 10년 전 | 483 | ||
| 7841 | 10년 전 | 448 | ||
| 7840 | 10년 전 | 469 | ||
| 7839 | 10년 전 | 517 | ||
| 7838 | 10년 전 | 581 | ||
| 7837 | 10년 전 | 409 | ||
| 7836 | 10년 전 | 454 | ||
| 7835 | 10년 전 | 539 | ||
| 7834 |
|
10년 전 | 1239 | |
| 7833 | 10년 전 | 500 | ||
| 7832 | 10년 전 | 478 | ||
| 7831 | 10년 전 | 650 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기