이미지 없이 라운딩 박스 + 보더 표현하기 입니다.
<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>
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 7530 | 10년 전 | 806 | ||
| 7529 |
파랑새1597
|
10년 전 | 1228 | |
| 7528 |
파랑새1597
|
10년 전 | 1325 | |
| 7527 |
integrity7
|
10년 전 | 1405 | |
| 7526 | 10년 전 | 2427 | ||
| 7525 |
다빈치코드777
|
10년 전 | 1114 | |
| 7524 | 10년 전 | 1583 | ||
| 7523 | 10년 전 | 968 | ||
| 7522 |
|
10년 전 | 1000 | |
| 7521 |
blackkil
|
10년 전 | 1882 | |
| 7520 | 10년 전 | 1304 | ||
| 7519 |
Gaumi
|
10년 전 | 1087 | |
| 7518 | 10년 전 | 1493 | ||
| 7517 | 10년 전 | 838 | ||
| 7516 | 10년 전 | 1301 | ||
| 7515 | 10년 전 | 1414 | ||
| 7514 |
|
10년 전 | 4493 | |
| 7513 |
멋진남자임
|
10년 전 | 1138 | |
| 7512 |
다빈치코드777
|
10년 전 | 882 | |
| 7511 |
|
10년 전 | 3412 | |
| 7510 | 10년 전 | 1377 | ||
| 7509 | 10년 전 | 1152 | ||
| 7508 | 10년 전 | 720 | ||
| 7507 |
senseme
|
10년 전 | 760 | |
| 7506 |
멋진남자임
|
10년 전 | 1651 | |
| 7505 | 10년 전 | 4020 | ||
| 7504 | 10년 전 | 2156 | ||
| 7503 | 10년 전 | 998 | ||
| 7502 | 10년 전 | 523 | ||
| 7501 | 10년 전 | 1450 | ||
| 7500 | 10년 전 | 1502 | ||
| 7499 | 10년 전 | 3403 | ||
| 7498 | 10년 전 | 1235 | ||
| 7497 |
dethos79
|
10년 전 | 2971 | |
| 7496 | 10년 전 | 2168 | ||
| 7495 | 10년 전 | 888 | ||
| 7494 |
CHAVO
|
10년 전 | 1138 | |
| 7493 | 10년 전 | 2656 | ||
| 7492 | 10년 전 | 1285 | ||
| 7491 | 10년 전 | 1494 | ||
| 7490 | 10년 전 | 2348 | ||
| 7489 | 10년 전 | 2125 | ||
| 7488 |
toptopon
|
10년 전 | 898 | |
| 7487 |
|
10년 전 | 1043 | |
| 7486 | 10년 전 | 3367 | ||
| 7485 | 10년 전 | 1320 | ||
| 7484 | 10년 전 | 1381 | ||
| 7483 | 10년 전 | 1034 | ||
| 7482 | 10년 전 | 662 | ||
| 7481 | 10년 전 | 862 | ||
| 7480 | 10년 전 | 1238 | ||
| 7479 | 10년 전 | 2614 | ||
| 7478 | 10년 전 | 1181 | ||
| 7477 |
멋진남자임
|
10년 전 | 1532 | |
| 7476 |
zeppeto
|
10년 전 | 1148 | |
| 7475 |
200점아빠
|
10년 전 | 922 | |
| 7474 | 10년 전 | 4013 | ||
| 7473 | 10년 전 | 1005 | ||
| 7472 |
나르시스1
|
10년 전 | 1250 | |
| 7471 | 10년 전 | 880 | ||
| 7470 | 10년 전 | 1296 | ||
| 7469 |
플라이SINJI
|
10년 전 | 994 | |
| 7468 |
|
10년 전 | 566 | |
| 7467 |
|
10년 전 | 677 | |
| 7466 | 10년 전 | 1137 | ||
| 7465 | 10년 전 | 1192 | ||
| 7464 |
|
10년 전 | 1202 | |
| 7463 | 10년 전 | 1266 | ||
| 7462 |
진짜별사탕
|
10년 전 | 872 | |
| 7461 | 10년 전 | 961 | ||
| 7460 | 10년 전 | 3746 | ||
| 7459 |
멋진남자임
|
10년 전 | 1565 | |
| 7458 |
멋진남자임
|
10년 전 | 489 | |
| 7457 | 10년 전 | 926 | ||
| 7456 | 10년 전 | 774 | ||
| 7455 | 10년 전 | 2176 | ||
| 7454 | 10년 전 | 635 | ||
| 7453 | 10년 전 | 837 | ||
| 7452 |
중국어사이트제작
|
10년 전 | 511 | |
| 7451 | 10년 전 | 913 | ||
| 7450 | 10년 전 | 635 | ||
| 7449 |
울라라라우
|
10년 전 | 960 | |
| 7448 | 10년 전 | 1640 | ||
| 7447 |
멋진남자임
|
10년 전 | 516 | |
| 7446 | 10년 전 | 558 | ||
| 7445 |
네이비칼라
|
10년 전 | 1692 | |
| 7444 |
senseme
|
10년 전 | 1415 | |
| 7443 | 10년 전 | 1349 | ||
| 7442 | 10년 전 | 734 | ||
| 7441 |
멋진남자임
|
10년 전 | 1449 | |
| 7440 | 10년 전 | 921 | ||
| 7439 |
|
10년 전 | 777 | |
| 7438 |
|
10년 전 | 947 | |
| 7437 |
basement
|
10년 전 | 1044 | |
| 7436 |
잘살아보자
|
10년 전 | 1135 | |
| 7435 | 10년 전 | 1097 | ||
| 7434 | 10년 전 | 3798 | ||
| 7433 |
|
11년 전 | 2754 | |
| 7432 |
alexkim
|
11년 전 | 868 | |
| 7431 |
이웃집초보
|
11년 전 | 1320 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기