<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>
게시글 목록
| 번호 | 제목 |
|---|---|
| 1043 |
JavaScript
테이블 셀에 링크하는법 & 마우스 오버
5
|
| 1034 |
JavaScript
a href 링크로 라디오박스 선택
8
|
| 1028 | |
| 1026 | |
| 1018 |
Flash
Flv 플래쉬 플래이어
7
|
| 1013 | |
| 1011 |
JavaScript
home, end키
1
|
| 17855 |
HTML
특수문자 모음
5
|
| 1010 |
JavaScript
콘솔 화면 보호기 끄기
|
| 1009 |
기타
히스토리 지우는것 막기
|
| 1007 |
JavaScript
VSFTP에서는 PUBLIC_HTML에....
1
|
| 17854 |
HTML
mqueue 설정(센드메일속도 UP)
|
| 1005 | |
| 998 | |
| 997 | |
| 992 | |
| 989 | |
| 987 |
MySQL
[펌]mysql매뉴얼
1
|
| 985 |
JavaScript
미리보기 소스
1
|
| 976 |
Flash
물결치는 모습
8
|
| 972 | |
| 960 | |
| 957 | |
| 956 | |
| 953 |
JavaScript
403 Forbidden error 생길때
2
|
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기