<html>
<head>
<title>버튼에 여러가지 스타일 주기</title>
<script language="JavaScript">
<!-- 버튼에 여러가지 효과 주기
/***************************************************************************/
/****************** 같은 스타일의 버튼 여러곳에 사용시 *******************/
/***************************************************************************/
//태그에 버튼 id는 이름을 통일하고 뒤에 번호만 추가(매개변수 추가)
//input type=button id=sbt1 value="Button" onMouseOver="BSlide('Hide',50,1)
//input type=button id=sbt2 value="Button" onMouseOver="BSlide('Push',50,2)
//스크립트에서는 아래와 같이 idno 추가 공통된 이름(sbt)에 번호를 더해줍니다
//function BSlide(sv, ssv, idno) {
//BT = eval("sbt" + idno);
//BT.filters.item(0).apply();
//BT.filters.item(0).slidestyle = sv;
//BT.filters.item(0).bands = ssv;
//BT.filters.item(0).play();
//}
/***************************************************************************/
function BSlide(sv, ssv) {
BT.filters.item(0).apply();
BT.filters.item(0).slidestyle = sv; //슬라이드 종류
BT.filters.item(0).bands = ssv; //슬라이드 크기
BT.filters.item(0).play();
}
function Biris(ikv, dkv) {
IBT.filters.item(0).apply();
IBT.filters.item(0).irisstyle = ikv; //Iris 종류
IBT.filters.item(0).motion = dkv; //외부 또는 내부
IBT.filters.item(0).play();
}
function BWheel(wsv) {
WBT.filters.item(0).apply();
WBT.filters.item(0).spokes = wsv; //휠의 분할 크기
WBT.filters.item(0).play();
}
function BST(skv) {
SBT.filters.item(0).apply();
SBT.filters.item(0).stretchstyle = skv; //Stretch 종류
SBT.filters.item(0).play();
}
//스크립트 끝-->
</script>
<style type="text/css">
<!--
TD, INPUT {font-size: 12px}
INPUT {width: 150; height: 25; cursor: hand}
#BT {filter: progid:DXImageTransform.Microsoft.Slide()}
#IBT {filter: progid:DXImageTransform.Microsoft.Iris()}
#WBT {filter: progid:DXImageTransform.Microsoft.Wheel()}
#SBT {filter: progid:DXImageTransform.Microsoft.Stretch()}
-->
</style>
</head>
<body>
<!--같은 스타일에 버튼을 여러개 사용 할때에는 ('종류',크기,id번호)추가-->
<input type=button id=BT value="Button" onMouseOver="BSlide('Hide',50);style.backgroundColor='hotpink';this.value='버튼'" onMouseOut="BSlide('Hide',50);style.backgroundColor='';this.value='Button'"><br><br>
<!--같은 스타일에 버튼을 여러개 사용 할때에는 ('종류',방향,id번호)추가-->
<input type=button id=IBT value="Button" onMouseOver="Biris('Circle','In');style.backgroundColor='#DC143C';this.value='서클'" onMouseOut="Biris('Circle','Out');style.backgroundColor='';this.value='Button'"><br><br>
<!--같은 스타일에 버튼을 여러개 사용 할때에는 (크기,id번호)추가-->
<input type=button id=WBT value="Button" onMouseOver="BWheel(2);style.backgroundColor='#FFCC00';this.value='휠'" onMouseOut="BWheel(2);style.backgroundColor='';this.value='Button'"><br><br>
<!--같은 스타일에 버튼을 여러개 사용 할때에는 ('종류',id번호)추가-->
<input type=button id=SBT value="Button" onMouseOver="BST('Hide');style.backgroundColor='#1E90FF';this.value='스트레치'" onMouseOut="BST('Hide');style.backgroundColor='';this.value='Button'">
</body>
</html><div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 17:16:08 PHP & HTML에서 이동 됨]</div>
<head>
<title>버튼에 여러가지 스타일 주기</title>
<script language="JavaScript">
<!-- 버튼에 여러가지 효과 주기
/***************************************************************************/
/****************** 같은 스타일의 버튼 여러곳에 사용시 *******************/
/***************************************************************************/
//태그에 버튼 id는 이름을 통일하고 뒤에 번호만 추가(매개변수 추가)
//input type=button id=sbt1 value="Button" onMouseOver="BSlide('Hide',50,1)
//input type=button id=sbt2 value="Button" onMouseOver="BSlide('Push',50,2)
//스크립트에서는 아래와 같이 idno 추가 공통된 이름(sbt)에 번호를 더해줍니다
//function BSlide(sv, ssv, idno) {
//BT = eval("sbt" + idno);
//BT.filters.item(0).apply();
//BT.filters.item(0).slidestyle = sv;
//BT.filters.item(0).bands = ssv;
//BT.filters.item(0).play();
//}
/***************************************************************************/
function BSlide(sv, ssv) {
BT.filters.item(0).apply();
BT.filters.item(0).slidestyle = sv; //슬라이드 종류
BT.filters.item(0).bands = ssv; //슬라이드 크기
BT.filters.item(0).play();
}
function Biris(ikv, dkv) {
IBT.filters.item(0).apply();
IBT.filters.item(0).irisstyle = ikv; //Iris 종류
IBT.filters.item(0).motion = dkv; //외부 또는 내부
IBT.filters.item(0).play();
}
function BWheel(wsv) {
WBT.filters.item(0).apply();
WBT.filters.item(0).spokes = wsv; //휠의 분할 크기
WBT.filters.item(0).play();
}
function BST(skv) {
SBT.filters.item(0).apply();
SBT.filters.item(0).stretchstyle = skv; //Stretch 종류
SBT.filters.item(0).play();
}
//스크립트 끝-->
</script>
<style type="text/css">
<!--
TD, INPUT {font-size: 12px}
INPUT {width: 150; height: 25; cursor: hand}
#BT {filter: progid:DXImageTransform.Microsoft.Slide()}
#IBT {filter: progid:DXImageTransform.Microsoft.Iris()}
#WBT {filter: progid:DXImageTransform.Microsoft.Wheel()}
#SBT {filter: progid:DXImageTransform.Microsoft.Stretch()}
-->
</style>
</head>
<body>
<!--같은 스타일에 버튼을 여러개 사용 할때에는 ('종류',크기,id번호)추가-->
<input type=button id=BT value="Button" onMouseOver="BSlide('Hide',50);style.backgroundColor='hotpink';this.value='버튼'" onMouseOut="BSlide('Hide',50);style.backgroundColor='';this.value='Button'"><br><br>
<!--같은 스타일에 버튼을 여러개 사용 할때에는 ('종류',방향,id번호)추가-->
<input type=button id=IBT value="Button" onMouseOver="Biris('Circle','In');style.backgroundColor='#DC143C';this.value='서클'" onMouseOut="Biris('Circle','Out');style.backgroundColor='';this.value='Button'"><br><br>
<!--같은 스타일에 버튼을 여러개 사용 할때에는 (크기,id번호)추가-->
<input type=button id=WBT value="Button" onMouseOver="BWheel(2);style.backgroundColor='#FFCC00';this.value='휠'" onMouseOut="BWheel(2);style.backgroundColor='';this.value='Button'"><br><br>
<!--같은 스타일에 버튼을 여러개 사용 할때에는 ('종류',id번호)추가-->
<input type=button id=SBT value="Button" onMouseOver="BST('Hide');style.backgroundColor='#1E90FF';this.value='스트레치'" onMouseOut="BST('Hide');style.backgroundColor='';this.value='Button'">
</body>
</html><div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 17:16:08 PHP & HTML에서 이동 됨]</div>
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 7730 | 10년 전 | 1301 | ||
| 7729 | 10년 전 | 1123 | ||
| 7728 |
잘살아보자
|
10년 전 | 586 | |
| 7727 |
잘살아보자
|
10년 전 | 478 | |
| 7726 |
잘살아보자
|
10년 전 | 806 | |
| 7725 |
잘살아보자
|
10년 전 | 535 | |
| 7724 |
잘살아보자
|
10년 전 | 449 | |
| 7723 |
잘살아보자
|
10년 전 | 517 | |
| 7722 |
잘살아보자
|
10년 전 | 456 | |
| 7721 |
잘살아보자
|
10년 전 | 492 | |
| 7720 |
잘살아보자
|
10년 전 | 442 | |
| 7719 |
비긴어게인
|
10년 전 | 682 | |
| 7718 |
|
10년 전 | 2519 | |
| 7717 |
잘살아보자
|
10년 전 | 641 | |
| 7716 |
잘살아보자
|
10년 전 | 388 | |
| 7715 |
잘살아보자
|
10년 전 | 422 | |
| 7714 |
잘살아보자
|
10년 전 | 469 | |
| 7713 | 10년 전 | 1773 | ||
| 7712 | 10년 전 | 1700 | ||
| 7711 | 10년 전 | 1083 | ||
| 7710 | 10년 전 | 1377 | ||
| 7709 | 10년 전 | 1501 | ||
| 7708 | 10년 전 | 1450 | ||
| 7707 | 10년 전 | 848 | ||
| 7706 |
별지기천사
|
10년 전 | 563 | |
| 7705 | 10년 전 | 1061 | ||
| 7704 |
ICONdesignstudio
|
10년 전 | 602 | |
| 7703 | 10년 전 | 576 | ||
| 7702 |
|
10년 전 | 712 | |
| 7701 | 10년 전 | 1397 | ||
| 7700 | 10년 전 | 1096 | ||
| 7699 | 10년 전 | 574 | ||
| 7698 | 10년 전 | 1123 | ||
| 7697 | 10년 전 | 5139 | ||
| 7696 | 10년 전 | 635 | ||
| 7695 | 10년 전 | 1678 | ||
| 7694 | 10년 전 | 1047 | ||
| 7693 | 10년 전 | 1541 | ||
| 7692 | 10년 전 | 1279 | ||
| 7691 | 10년 전 | 805 | ||
| 7690 | 10년 전 | 1382 | ||
| 7689 | 10년 전 | 1000 | ||
| 7688 | 10년 전 | 597 | ||
| 7687 |
파랑새1597
|
10년 전 | 573 | |
| 7686 | 10년 전 | 833 | ||
| 7685 | 10년 전 | 1332 | ||
| 7684 | 10년 전 | 787 | ||
| 7683 | 10년 전 | 1067 | ||
| 7682 | 10년 전 | 983 | ||
| 7681 | 10년 전 | 642 | ||
| 7680 | 10년 전 | 982 | ||
| 7679 | 10년 전 | 490 | ||
| 7678 | 10년 전 | 719 | ||
| 7677 | 10년 전 | 620 | ||
| 7676 |
|
10년 전 | 935 | |
| 7675 |
|
10년 전 | 1153 | |
| 7674 | 10년 전 | 1041 | ||
| 7673 | 10년 전 | 743 | ||
| 7672 | 10년 전 | 1083 | ||
| 7671 | 10년 전 | 874 | ||
| 7670 | 10년 전 | 640 | ||
| 7669 |
mashmellow
|
10년 전 | 1221 | |
| 7668 | 10년 전 | 705 | ||
| 7667 | 10년 전 | 987 | ||
| 7666 |
senseme
|
10년 전 | 640 | |
| 7665 | 10년 전 | 493 | ||
| 7664 | 10년 전 | 1886 | ||
| 7663 |
mixx애교
|
10년 전 | 975 | |
| 7662 | 10년 전 | 1028 | ||
| 7661 |
hkhkah
|
10년 전 | 781 | |
| 7660 | 10년 전 | 1051 | ||
| 7659 |
커네드커네드
|
10년 전 | 917 | |
| 7658 |
바람돌이팡
|
10년 전 | 662 | |
| 7657 | 10년 전 | 1158 | ||
| 7656 | 10년 전 | 1561 | ||
| 7655 | 10년 전 | 973 | ||
| 7654 |
개발짜증나
|
10년 전 | 847 | |
| 7653 |
네이비칼라
|
10년 전 | 874 | |
| 7652 |
밥먹고합시다
|
10년 전 | 803 | |
| 7651 |
플라이SINJI
|
10년 전 | 1501 | |
| 7650 |
개발짜증나
|
10년 전 | 1400 | |
| 7649 | 10년 전 | 447 | ||
| 7648 |
이미영ㅇㅇ
|
10년 전 | 862 | |
| 7647 | 10년 전 | 420 | ||
| 7646 | 10년 전 | 788 | ||
| 7645 | 10년 전 | 2300 | ||
| 7644 | 10년 전 | 805 | ||
| 7643 |
|
10년 전 | 2861 | |
| 7642 | 10년 전 | 1501 | ||
| 7641 | 10년 전 | 1121 | ||
| 7640 |
개발짜증나
|
10년 전 | 464 | |
| 7639 |
|
10년 전 | 809 | |
| 7638 |
개발짜증나
|
10년 전 | 1123 | |
| 7637 | 10년 전 | 1540 | ||
| 7636 | 10년 전 | 2906 | ||
| 7635 | 10년 전 | 1678 | ||
| 7634 | 10년 전 | 1864 | ||
| 7633 | 10년 전 | 2321 | ||
| 7632 | 10년 전 | 3920 | ||
| 7631 |
|
10년 전 | 1523 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기