이미지 없이 라운딩 박스 + 보더 표현하기 입니다.
<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년 전 | 360 | ||
| 7929 | 9년 전 | 252 | ||
| 7928 | 9년 전 | 360 | ||
| 7927 | 9년 전 | 287 | ||
| 7926 | 9년 전 | 637 | ||
| 7925 | 9년 전 | 306 | ||
| 7924 | 9년 전 | 270 | ||
| 7923 | 9년 전 | 317 | ||
| 7922 | 9년 전 | 331 | ||
| 7921 | 9년 전 | 368 | ||
| 7920 | 9년 전 | 290 | ||
| 7919 | 9년 전 | 303 | ||
| 7918 | 9년 전 | 471 | ||
| 7917 | 9년 전 | 310 | ||
| 7916 | 9년 전 | 374 | ||
| 7915 | 9년 전 | 356 | ||
| 7914 | 9년 전 | 378 | ||
| 7913 | 9년 전 | 494 | ||
| 7912 | 9년 전 | 369 | ||
| 7911 | 9년 전 | 325 | ||
| 7910 | 9년 전 | 350 | ||
| 7909 | 9년 전 | 460 | ||
| 7908 | 9년 전 | 363 | ||
| 7907 | 9년 전 | 312 | ||
| 7906 | 9년 전 | 326 | ||
| 7905 | 9년 전 | 324 | ||
| 7904 | 9년 전 | 284 | ||
| 7903 | 9년 전 | 283 | ||
| 7902 | 9년 전 | 504 | ||
| 7901 |
|
9년 전 | 712 | |
| 7900 | 9년 전 | 535 | ||
| 7899 | 9년 전 | 339 | ||
| 7898 | 9년 전 | 334 | ||
| 7897 | 9년 전 | 293 | ||
| 7896 | 9년 전 | 311 | ||
| 7895 | 9년 전 | 419 | ||
| 7894 | 9년 전 | 343 | ||
| 7893 | 9년 전 | 269 | ||
| 7892 | 9년 전 | 311 | ||
| 7891 | 9년 전 | 699 | ||
| 7890 | 9년 전 | 1164 | ||
| 7889 | 9년 전 | 726 | ||
| 7888 |
limsy1987
|
9년 전 | 517 | |
| 7887 | 9년 전 | 498 | ||
| 7886 | 9년 전 | 375 | ||
| 7885 | 9년 전 | 354 | ||
| 7884 | 9년 전 | 360 | ||
| 7883 | 9년 전 | 337 | ||
| 7882 | 9년 전 | 351 | ||
| 7881 | 9년 전 | 373 | ||
| 7880 | 9년 전 | 506 | ||
| 7879 | 9년 전 | 408 | ||
| 7878 | 9년 전 | 1142 | ||
| 7877 | 9년 전 | 702 | ||
| 7876 | 9년 전 | 428 | ||
| 7875 | 9년 전 | 498 | ||
| 7874 |
|
9년 전 | 770 | |
| 7873 | 9년 전 | 476 | ||
| 7872 | 9년 전 | 601 | ||
| 7871 | 9년 전 | 439 | ||
| 7870 | 9년 전 | 559 | ||
| 7869 | 9년 전 | 383 | ||
| 7868 | 9년 전 | 368 | ||
| 7867 | 9년 전 | 372 | ||
| 7866 | 9년 전 | 428 | ||
| 7865 | 9년 전 | 390 | ||
| 7864 | 9년 전 | 451 | ||
| 7863 | 9년 전 | 443 | ||
| 7862 | 9년 전 | 420 | ||
| 7861 | 9년 전 | 583 | ||
| 7860 | 9년 전 | 589 | ||
| 7859 | 9년 전 | 360 | ||
| 7858 | 9년 전 | 666 | ||
| 7857 | 9년 전 | 1017 | ||
| 7856 | 9년 전 | 471 | ||
| 7855 | 9년 전 | 691 | ||
| 7854 | 9년 전 | 692 | ||
| 7853 | 9년 전 | 521 | ||
| 7852 | 9년 전 | 465 | ||
| 7851 | 9년 전 | 437 | ||
| 7850 | 9년 전 | 534 | ||
| 7849 | 9년 전 | 308 | ||
| 7848 | 9년 전 | 346 | ||
| 7847 | 9년 전 | 573 | ||
| 7846 | 9년 전 | 399 | ||
| 7845 | 9년 전 | 364 | ||
| 7844 | 9년 전 | 356 | ||
| 7843 | 9년 전 | 365 | ||
| 7842 | 9년 전 | 361 | ||
| 7841 | 9년 전 | 348 | ||
| 7840 | 9년 전 | 352 | ||
| 7839 | 9년 전 | 386 | ||
| 7838 | 9년 전 | 471 | ||
| 7837 | 9년 전 | 313 | ||
| 7836 | 9년 전 | 354 | ||
| 7835 | 9년 전 | 431 | ||
| 7834 |
|
9년 전 | 1166 | |
| 7833 | 9년 전 | 372 | ||
| 7832 | 9년 전 | 359 | ||
| 7831 | 9년 전 | 492 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기