<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에서 해주시기 바랍니다.
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 5002 | 12년 전 | 784 | ||
| 5001 |
kiplayer
|
12년 전 | 10546 | |
| 5000 | 12년 전 | 7106 | ||
| 4999 | 12년 전 | 8954 | ||
| 4998 | 12년 전 | 6665 | ||
| 4997 | 12년 전 | 10497 | ||
| 4996 | 12년 전 | 4051 | ||
| 4995 | 12년 전 | 2358 | ||
| 4994 | 12년 전 | 714 | ||
| 4993 |
kiplayer
|
12년 전 | 3757 | |
| 4992 |
|
12년 전 | 2948 | |
| 4991 |
|
12년 전 | 3420 | |
| 4990 | 12년 전 | 2142 | ||
| 4989 |
kiplayer
|
12년 전 | 2207 | |
| 4988 |
|
12년 전 | 3322 | |
| 4987 |
windowhan
|
12년 전 | 711 | |
| 4986 | 12년 전 | 5138 | ||
| 4985 | 12년 전 | 1666 | ||
| 4984 | 12년 전 | 1237 | ||
| 4983 |
kiplayer
|
12년 전 | 1152 | |
| 4982 |
kiplayer
|
12년 전 | 3159 | |
| 4981 |
dsv421
|
12년 전 | 825 | |
| 4980 |
dsv421
|
12년 전 | 1531 | |
| 4979 |
dsv421
|
12년 전 | 5825 | |
| 4978 |
MFBob
|
12년 전 | 2619 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기