<html>
<script language=javascript>
// Handle all the FSCommand messages in a Flash movie.
function mission_DoFSCommand(x, y) {
window.resizeTo(x ,y);
var tempX = (screen.width/2)-(x/2);
var tempY = (screen.height/2)-(y/2);
window.moveTo(tempX,tempY);
if( document.f1.state.value == "up" ){
if( document.f1.x.value > 600 ){
document.f1.state.value = "down"
}else{
document.f1.x.value = eval(x)+10;
document.f1.y.value = eval(y)+10;
}
}else if( document.f1.state.value == "down" ){
if( document.f1.x.value < 400 ){
document.f1.state.value = "up"
}else{
document.f1.x.value = eval(x)-10;
document.f1.y.value = eval(y)-10;
}
}
setTimeout("mission_DoFSCommand(document.f1.x.value, document.f1.y.value)",50);
}
</script>
<body onload="mission_DoFSCommand(400, 400)" >
<form name="f1">
<input type=text name='state' value='up'><br>
<input type=text name='x'><br>
<input type=text name='y'>
</form>
</body>
</html>
펌 어서 퍼왔는지 오래된거라 기억이 가물가물<div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 17:16:08 PHP & HTML에서 이동 됨]</div>
<script language=javascript>
// Handle all the FSCommand messages in a Flash movie.
function mission_DoFSCommand(x, y) {
window.resizeTo(x ,y);
var tempX = (screen.width/2)-(x/2);
var tempY = (screen.height/2)-(y/2);
window.moveTo(tempX,tempY);
if( document.f1.state.value == "up" ){
if( document.f1.x.value > 600 ){
document.f1.state.value = "down"
}else{
document.f1.x.value = eval(x)+10;
document.f1.y.value = eval(y)+10;
}
}else if( document.f1.state.value == "down" ){
if( document.f1.x.value < 400 ){
document.f1.state.value = "up"
}else{
document.f1.x.value = eval(x)-10;
document.f1.y.value = eval(y)-10;
}
}
setTimeout("mission_DoFSCommand(document.f1.x.value, document.f1.y.value)",50);
}
</script>
<body onload="mission_DoFSCommand(400, 400)" >
<form name="f1">
<input type=text name='state' value='up'><br>
<input type=text name='x'><br>
<input type=text name='y'>
</form>
</body>
</html>
펌 어서 퍼왔는지 오래된거라 기억이 가물가물<div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 17:16:08 PHP & HTML에서 이동 됨]</div>
게시판 목록
팁게시판
디자인과 관련된 유용한 정보를 공유하세요.
질문은 상단의 QA에서 해주시기 바랍니다.
질문은 상단의 QA에서 해주시기 바랍니다.
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 552 |
|
19년 전 | 3126 | |
| 551 | 19년 전 | 2902 | ||
| 550 |
|
19년 전 | 1884 | |
| 549 |
|
19년 전 | 1942 | |
| 548 |
|
19년 전 | 3139 | |
| 547 |
|
19년 전 | 2354 | |
| 546 |
|
19년 전 | 3601 | |
| 545 |
|
19년 전 | 2537 | |
| 544 |
|
19년 전 | 1850 | |
| 543 |
|
19년 전 | 2474 | |
| 542 |
|
19년 전 | 1732 | |
| 541 |
|
19년 전 | 1396 | |
| 540 |
|
19년 전 | 1535 | |
| 539 |
|
19년 전 | 1809 | |
| 538 |
|
19년 전 | 1572 | |
| 537 |
|
19년 전 | 1782 | |
| 536 |
|
19년 전 | 1568 | |
| 535 |
|
19년 전 | 1958 | |
| 534 |
|
19년 전 | 1838 | |
| 533 |
|
19년 전 | 1441 | |
| 532 |
|
19년 전 | 1430 | |
| 531 |
|
19년 전 | 1345 | |
| 530 |
|
19년 전 | 1219 | |
| 529 |
|
19년 전 | 1394 | |
| 528 |
|
19년 전 | 1966 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기