<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>
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 8030 | 9년 전 | 339 | ||
| 8029 | 9년 전 | 280 | ||
| 8028 | 9년 전 | 246 | ||
| 8027 | 9년 전 | 262 | ||
| 8026 | 9년 전 | 300 | ||
| 8025 | 9년 전 | 359 | ||
| 8024 | 9년 전 | 324 | ||
| 8023 | 9년 전 | 377 | ||
| 8022 | 9년 전 | 304 | ||
| 8021 | 9년 전 | 302 | ||
| 8020 | 9년 전 | 299 | ||
| 8019 | 9년 전 | 326 | ||
| 8018 | 9년 전 | 423 | ||
| 8017 | 9년 전 | 522 | ||
| 8016 | 9년 전 | 313 | ||
| 8015 | 9년 전 | 375 | ||
| 8014 | 9년 전 | 310 | ||
| 8013 | 9년 전 | 219 | ||
| 8012 | 9년 전 | 235 | ||
| 8011 | 9년 전 | 433 | ||
| 8010 | 9년 전 | 286 | ||
| 8009 | 9년 전 | 272 | ||
| 8008 | 9년 전 | 274 | ||
| 8007 | 9년 전 | 414 | ||
| 8006 | 9년 전 | 451 | ||
| 8005 |
|
9년 전 | 950 | |
| 8004 | 9년 전 | 331 | ||
| 8003 | 9년 전 | 398 | ||
| 8002 | 9년 전 | 307 | ||
| 8001 |
|
9년 전 | 650 | |
| 8000 | 9년 전 | 397 | ||
| 7999 | 9년 전 | 361 | ||
| 7998 | 9년 전 | 412 | ||
| 7997 | 9년 전 | 296 | ||
| 7996 | 9년 전 | 526 | ||
| 7995 | 9년 전 | 428 | ||
| 7994 | 9년 전 | 270 | ||
| 7993 | 9년 전 | 354 | ||
| 7992 | 9년 전 | 493 | ||
| 7991 | 9년 전 | 230 | ||
| 7990 | 9년 전 | 253 | ||
| 7989 | 9년 전 | 287 | ||
| 7988 | 9년 전 | 711 | ||
| 7987 | 9년 전 | 402 | ||
| 7986 | 9년 전 | 397 | ||
| 7985 | 9년 전 | 485 | ||
| 7984 | 9년 전 | 417 | ||
| 7983 | 9년 전 | 637 | ||
| 7982 | 9년 전 | 499 | ||
| 7981 | 9년 전 | 446 | ||
| 7980 | 9년 전 | 471 | ||
| 7979 | 9년 전 | 444 | ||
| 7978 | 9년 전 | 423 | ||
| 7977 | 9년 전 | 357 | ||
| 7976 | 9년 전 | 828 | ||
| 7975 | 9년 전 | 350 | ||
| 7974 | 9년 전 | 376 | ||
| 7973 | 9년 전 | 581 | ||
| 7972 | 9년 전 | 369 | ||
| 7971 | 9년 전 | 433 | ||
| 7970 | 9년 전 | 283 | ||
| 7969 | 9년 전 | 527 | ||
| 7968 | 9년 전 | 366 | ||
| 7967 | 9년 전 | 348 | ||
| 7966 | 9년 전 | 346 | ||
| 7965 |
|
9년 전 | 1000 | |
| 7964 | 9년 전 | 387 | ||
| 7963 | 9년 전 | 372 | ||
| 7962 | 9년 전 | 354 | ||
| 7961 |
전갈자리남자
|
9년 전 | 495 | |
| 7960 | 9년 전 | 945 | ||
| 7959 | 9년 전 | 538 | ||
| 7958 | 9년 전 | 392 | ||
| 7957 | 9년 전 | 351 | ||
| 7956 | 9년 전 | 361 | ||
| 7955 | 9년 전 | 422 | ||
| 7954 | 9년 전 | 351 | ||
| 7953 | 9년 전 | 411 | ||
| 7952 | 9년 전 | 331 | ||
| 7951 | 9년 전 | 474 | ||
| 7950 | 9년 전 | 367 | ||
| 7949 | 9년 전 | 374 | ||
| 7948 | 9년 전 | 312 | ||
| 7947 | 9년 전 | 914 | ||
| 7946 | 9년 전 | 407 | ||
| 7945 | 9년 전 | 368 | ||
| 7944 | 9년 전 | 380 | ||
| 7943 | 9년 전 | 354 | ||
| 7942 | 9년 전 | 390 | ||
| 7941 | 9년 전 | 372 | ||
| 7940 | 9년 전 | 859 | ||
| 7939 | 9년 전 | 310 | ||
| 7938 | 9년 전 | 357 | ||
| 7937 | 9년 전 | 259 | ||
| 7936 | 9년 전 | 863 | ||
| 7935 | 9년 전 | 410 | ||
| 7934 | 9년 전 | 383 | ||
| 7933 | 9년 전 | 459 | ||
| 7932 | 9년 전 | 431 | ||
| 7931 | 9년 전 | 494 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기