<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년 전 | 1272 | ||
| 7729 | 10년 전 | 1082 | ||
| 7728 |
잘살아보자
|
10년 전 | 546 | |
| 7727 |
잘살아보자
|
10년 전 | 453 | |
| 7726 |
잘살아보자
|
10년 전 | 790 | |
| 7725 |
잘살아보자
|
10년 전 | 515 | |
| 7724 |
잘살아보자
|
10년 전 | 424 | |
| 7723 |
잘살아보자
|
10년 전 | 490 | |
| 7722 |
잘살아보자
|
10년 전 | 421 | |
| 7721 |
잘살아보자
|
10년 전 | 463 | |
| 7720 |
잘살아보자
|
10년 전 | 406 | |
| 7719 |
비긴어게인
|
10년 전 | 646 | |
| 7718 |
|
10년 전 | 2493 | |
| 7717 |
잘살아보자
|
10년 전 | 627 | |
| 7716 |
잘살아보자
|
10년 전 | 359 | |
| 7715 |
잘살아보자
|
10년 전 | 407 | |
| 7714 |
잘살아보자
|
10년 전 | 434 | |
| 7713 | 10년 전 | 1734 | ||
| 7712 | 10년 전 | 1662 | ||
| 7711 | 10년 전 | 1052 | ||
| 7710 | 10년 전 | 1340 | ||
| 7709 | 10년 전 | 1477 | ||
| 7708 | 10년 전 | 1434 | ||
| 7707 | 10년 전 | 818 | ||
| 7706 |
별지기천사
|
10년 전 | 547 | |
| 7705 | 10년 전 | 1042 | ||
| 7704 |
ICONdesignstudio
|
10년 전 | 585 | |
| 7703 | 10년 전 | 542 | ||
| 7702 |
|
10년 전 | 679 | |
| 7701 | 10년 전 | 1370 | ||
| 7700 | 10년 전 | 1072 | ||
| 7699 | 10년 전 | 555 | ||
| 7698 | 10년 전 | 1106 | ||
| 7697 | 10년 전 | 5112 | ||
| 7696 | 10년 전 | 605 | ||
| 7695 | 10년 전 | 1650 | ||
| 7694 | 10년 전 | 1015 | ||
| 7693 | 10년 전 | 1507 | ||
| 7692 | 10년 전 | 1248 | ||
| 7691 | 10년 전 | 780 | ||
| 7690 | 10년 전 | 1355 | ||
| 7689 | 10년 전 | 977 | ||
| 7688 | 10년 전 | 545 | ||
| 7687 |
파랑새1597
|
10년 전 | 549 | |
| 7686 | 10년 전 | 800 | ||
| 7685 | 10년 전 | 1315 | ||
| 7684 | 10년 전 | 767 | ||
| 7683 | 10년 전 | 1009 | ||
| 7682 | 10년 전 | 879 | ||
| 7681 | 10년 전 | 614 | ||
| 7680 | 10년 전 | 948 | ||
| 7679 | 10년 전 | 450 | ||
| 7678 | 10년 전 | 688 | ||
| 7677 | 10년 전 | 593 | ||
| 7676 |
|
10년 전 | 911 | |
| 7675 |
|
10년 전 | 1110 | |
| 7674 | 10년 전 | 1026 | ||
| 7673 | 10년 전 | 721 | ||
| 7672 | 10년 전 | 1048 | ||
| 7671 | 10년 전 | 835 | ||
| 7670 | 10년 전 | 595 | ||
| 7669 |
mashmellow
|
10년 전 | 1198 | |
| 7668 | 10년 전 | 672 | ||
| 7667 | 10년 전 | 949 | ||
| 7666 |
senseme
|
10년 전 | 618 | |
| 7665 | 10년 전 | 473 | ||
| 7664 | 10년 전 | 1859 | ||
| 7663 |
mixx애교
|
10년 전 | 952 | |
| 7662 | 10년 전 | 979 | ||
| 7661 |
hkhkah
|
10년 전 | 750 | |
| 7660 | 10년 전 | 1037 | ||
| 7659 |
커네드커네드
|
10년 전 | 900 | |
| 7658 |
바람돌이팡
|
10년 전 | 630 | |
| 7657 | 10년 전 | 1120 | ||
| 7656 | 10년 전 | 1542 | ||
| 7655 | 10년 전 | 948 | ||
| 7654 |
개발짜증나
|
10년 전 | 827 | |
| 7653 |
네이비칼라
|
10년 전 | 857 | |
| 7652 |
밥먹고합시다
|
10년 전 | 779 | |
| 7651 |
플라이SINJI
|
10년 전 | 1481 | |
| 7650 |
개발짜증나
|
10년 전 | 1375 | |
| 7649 | 10년 전 | 430 | ||
| 7648 |
이미영ㅇㅇ
|
10년 전 | 819 | |
| 7647 | 10년 전 | 407 | ||
| 7646 | 10년 전 | 769 | ||
| 7645 | 10년 전 | 2256 | ||
| 7644 | 10년 전 | 791 | ||
| 7643 |
|
10년 전 | 2830 | |
| 7642 | 10년 전 | 1481 | ||
| 7641 | 10년 전 | 1106 | ||
| 7640 |
개발짜증나
|
10년 전 | 447 | |
| 7639 |
|
10년 전 | 785 | |
| 7638 |
개발짜증나
|
10년 전 | 1089 | |
| 7637 | 10년 전 | 1506 | ||
| 7636 | 10년 전 | 2874 | ||
| 7635 | 10년 전 | 1654 | ||
| 7634 | 10년 전 | 1819 | ||
| 7633 | 10년 전 | 2286 | ||
| 7632 | 10년 전 | 3877 | ||
| 7631 |
|
10년 전 | 1497 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기