이미지 없이 라운딩 박스 + 보더 표현하기 입니다.
<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년 전 | 447 | ||
| 7929 | 9년 전 | 380 | ||
| 7928 | 9년 전 | 463 | ||
| 7927 | 9년 전 | 374 | ||
| 7926 | 9년 전 | 682 | ||
| 7925 | 9년 전 | 396 | ||
| 7924 | 9년 전 | 381 | ||
| 7923 | 9년 전 | 376 | ||
| 7922 | 9년 전 | 410 | ||
| 7921 | 9년 전 | 425 | ||
| 7920 | 9년 전 | 341 | ||
| 7919 | 9년 전 | 349 | ||
| 7918 | 9년 전 | 502 | ||
| 7917 | 9년 전 | 353 | ||
| 7916 | 9년 전 | 442 | ||
| 7915 | 9년 전 | 447 | ||
| 7914 | 9년 전 | 456 | ||
| 7913 | 9년 전 | 629 | ||
| 7912 | 9년 전 | 463 | ||
| 7911 | 9년 전 | 394 | ||
| 7910 | 9년 전 | 440 | ||
| 7909 | 9년 전 | 542 | ||
| 7908 | 9년 전 | 484 | ||
| 7907 | 9년 전 | 421 | ||
| 7906 | 9년 전 | 443 | ||
| 7905 | 9년 전 | 407 | ||
| 7904 | 9년 전 | 393 | ||
| 7903 | 9년 전 | 393 | ||
| 7902 | 9년 전 | 588 | ||
| 7901 |
|
9년 전 | 765 | |
| 7900 | 9년 전 | 643 | ||
| 7899 | 9년 전 | 429 | ||
| 7898 | 9년 전 | 425 | ||
| 7897 | 9년 전 | 383 | ||
| 7896 | 9년 전 | 396 | ||
| 7895 | 9년 전 | 512 | ||
| 7894 | 9년 전 | 427 | ||
| 7893 | 9년 전 | 400 | ||
| 7892 | 9년 전 | 435 | ||
| 7891 | 9년 전 | 797 | ||
| 7890 | 9년 전 | 1226 | ||
| 7889 | 9년 전 | 763 | ||
| 7888 |
limsy1987
|
9년 전 | 574 | |
| 7887 | 9년 전 | 602 | ||
| 7886 | 9년 전 | 492 | ||
| 7885 | 9년 전 | 458 | ||
| 7884 | 9년 전 | 452 | ||
| 7883 | 9년 전 | 456 | ||
| 7882 | 9년 전 | 517 | ||
| 7881 | 9년 전 | 488 | ||
| 7880 | 9년 전 | 611 | ||
| 7879 | 9년 전 | 499 | ||
| 7878 | 9년 전 | 1274 | ||
| 7877 | 9년 전 | 798 | ||
| 7876 | 9년 전 | 534 | ||
| 7875 | 9년 전 | 610 | ||
| 7874 |
|
9년 전 | 826 | |
| 7873 | 9년 전 | 544 | ||
| 7872 | 9년 전 | 711 | ||
| 7871 | 9년 전 | 528 | ||
| 7870 | 9년 전 | 647 | ||
| 7869 | 9년 전 | 458 | ||
| 7868 | 9년 전 | 498 | ||
| 7867 | 9년 전 | 494 | ||
| 7866 | 9년 전 | 549 | ||
| 7865 | 9년 전 | 490 | ||
| 7864 | 9년 전 | 556 | ||
| 7863 | 9년 전 | 549 | ||
| 7862 | 9년 전 | 507 | ||
| 7861 | 9년 전 | 687 | ||
| 7860 | 9년 전 | 659 | ||
| 7859 | 9년 전 | 439 | ||
| 7858 | 9년 전 | 742 | ||
| 7857 | 9년 전 | 1128 | ||
| 7856 | 9년 전 | 563 | ||
| 7855 | 9년 전 | 788 | ||
| 7854 | 9년 전 | 749 | ||
| 7853 | 9년 전 | 637 | ||
| 7852 | 9년 전 | 560 | ||
| 7851 | 9년 전 | 549 | ||
| 7850 | 9년 전 | 630 | ||
| 7849 | 9년 전 | 394 | ||
| 7848 | 9년 전 | 461 | ||
| 7847 | 9년 전 | 704 | ||
| 7846 | 9년 전 | 493 | ||
| 7845 | 9년 전 | 464 | ||
| 7844 | 9년 전 | 434 | ||
| 7843 | 9년 전 | 469 | ||
| 7842 | 9년 전 | 450 | ||
| 7841 | 9년 전 | 425 | ||
| 7840 | 9년 전 | 436 | ||
| 7839 | 9년 전 | 478 | ||
| 7838 | 10년 전 | 544 | ||
| 7837 | 10년 전 | 381 | ||
| 7836 | 10년 전 | 436 | ||
| 7835 | 10년 전 | 511 | ||
| 7834 |
|
10년 전 | 1223 | |
| 7833 | 10년 전 | 482 | ||
| 7832 | 10년 전 | 457 | ||
| 7831 | 10년 전 | 616 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기