<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>
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 7630 | 10년 전 | 635 | ||
| 7629 |
|
10년 전 | 2347 | |
| 7628 | 10년 전 | 768 | ||
| 7627 |
|
10년 전 | 1002 | |
| 7626 |
|
10년 전 | 1761 | |
| 7625 | 10년 전 | 661 | ||
| 7624 | 10년 전 | 684 | ||
| 7623 |
|
10년 전 | 3011 | |
| 7622 | 10년 전 | 698 | ||
| 7621 |
leeleeleelee
|
10년 전 | 570 | |
| 7620 | 10년 전 | 528 | ||
| 7619 | 10년 전 | 458 | ||
| 7618 | 10년 전 | 999 | ||
| 7617 | 10년 전 | 713 | ||
| 7616 | 10년 전 | 614 | ||
| 7615 | 10년 전 | 711 | ||
| 7614 | 10년 전 | 1214 | ||
| 7613 |
|
10년 전 | 2054 | |
| 7612 | 10년 전 | 1125 | ||
| 7611 | 10년 전 | 1385 | ||
| 7610 |
|
10년 전 | 1875 | |
| 7609 |
|
10년 전 | 1291 | |
| 7608 |
mwdkim
|
10년 전 | 1098 | |
| 7607 |
|
10년 전 | 1023 | |
| 7606 |
mwdkim
|
10년 전 | 3904 | |
| 7605 | 10년 전 | 669 | ||
| 7604 | 10년 전 | 1005 | ||
| 7603 | 10년 전 | 1631 | ||
| 7602 |
|
10년 전 | 1041 | |
| 7601 |
AniNest
|
10년 전 | 2763 | |
| 7600 |
port443
|
10년 전 | 1001 | |
| 7599 | 10년 전 | 924 | ||
| 7598 | 10년 전 | 991 | ||
| 7597 | 10년 전 | 4553 | ||
| 7596 |
SeungYeon
|
10년 전 | 868 | |
| 7595 |
untitled
|
10년 전 | 2395 | |
| 7594 |
프로그래머7
|
10년 전 | 1700 | |
| 7593 |
untitled
|
10년 전 | 2337 | |
| 7592 |
untitled
|
10년 전 | 1916 | |
| 7591 |
untitled
|
10년 전 | 2653 | |
| 7590 |
아리마2001
|
10년 전 | 823 | |
| 7589 | 10년 전 | 1083 | ||
| 7588 |
|
10년 전 | 2902 | |
| 7587 | 10년 전 | 1279 | ||
| 7586 | 10년 전 | 644 | ||
| 7585 | 10년 전 | 1662 | ||
| 7584 | 10년 전 | 1396 | ||
| 7583 |
leeleeleelee
|
10년 전 | 1139 | |
| 7582 |
|
10년 전 | 1074 | |
| 7581 | 10년 전 | 1305 | ||
| 7580 | 10년 전 | 947 | ||
| 7579 |
|
10년 전 | 586 | |
| 7578 | 10년 전 | 1398 | ||
| 7577 |
|
10년 전 | 1853 | |
| 7576 | 10년 전 | 1368 | ||
| 7575 |
멋진남자임
|
10년 전 | 1447 | |
| 7574 | 10년 전 | 2089 | ||
| 7573 | 10년 전 | 3220 | ||
| 7572 | 10년 전 | 750 | ||
| 7571 |
|
10년 전 | 772 | |
| 7570 |
|
10년 전 | 1295 | |
| 7569 | 10년 전 | 1524 | ||
| 7568 |
this1mg
|
10년 전 | 1023 | |
| 7567 |
|
10년 전 | 734 | |
| 7566 | 10년 전 | 902 | ||
| 7565 |
Angel하늘
|
10년 전 | 966 | |
| 7564 |
seoldi
|
10년 전 | 1209 | |
| 7563 |
|
10년 전 | 1353 | |
| 7562 |
멋진남자임
|
10년 전 | 2047 | |
| 7561 | 10년 전 | 684 | ||
| 7560 |
leeleeleelee
|
10년 전 | 883 | |
| 7559 | 10년 전 | 5014 | ||
| 7558 |
RinaP
|
10년 전 | 756 | |
| 7557 |
|
10년 전 | 1222 | |
| 7556 | 10년 전 | 1172 | ||
| 7555 |
hyohyojj1234
|
10년 전 | 1637 | |
| 7554 | 10년 전 | 1076 | ||
| 7553 |
senseme
|
10년 전 | 1322 | |
| 7552 |
ehdltdoit
|
10년 전 | 1419 | |
| 7551 |
|
10년 전 | 1803 | |
| 7550 |
leeleeleelee
|
10년 전 | 1566 | |
| 7549 | 10년 전 | 2396 | ||
| 7548 | 10년 전 | 1816 | ||
| 7547 |
멋진남자임
|
10년 전 | 1930 | |
| 7546 | 10년 전 | 971 | ||
| 7545 |
ILMare1003
|
10년 전 | 1258 | |
| 7544 |
|
10년 전 | 1211 | |
| 7543 | 10년 전 | 866 | ||
| 7542 | 10년 전 | 637 | ||
| 7541 |
울라라라우
|
10년 전 | 850 | |
| 7540 | 10년 전 | 1584 | ||
| 7539 | 10년 전 | 904 | ||
| 7538 |
|
10년 전 | 1816 | |
| 7537 | 10년 전 | 3592 | ||
| 7536 |
Gaumi
|
10년 전 | 1389 | |
| 7535 |
프로그램은어려워
|
10년 전 | 1247 | |
| 7534 |
senseme
|
10년 전 | 1195 | |
| 7533 | 10년 전 | 1172 | ||
| 7532 | 10년 전 | 836 | ||
| 7531 | 10년 전 | 2029 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기