<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>
게시글 목록
| 번호 | 제목 |
|---|---|
| 1866 | |
| 1860 |
JavaScript
셀렉트에 스타일을 적용하자
3
|
| 1848 | |
| 1847 | |
| 1846 | |
| 1843 |
JavaScript
부드럽게 스크롤 되는 트리구조형 메뉴 스크립트
2
|
| 1842 | |
| 1839 |
JavaScript
부드럽게 슬라이딩되는 MFX 메뉴에 롤오버 효과를 더한 메뉴 스크립트
1
|
| 1838 | |
| 1837 | |
| 1835 | |
| 1834 |
JavaScript
이 브라우저로 몇페이지나 보았나??
|
| 1830 |
JavaScript
사용자 웹브라우저의 디폴트 언어에 따라 리다이렉트 시키기
|
| 1829 | |
| 1828 | |
| 1826 | |
| 1825 |
JavaScript
사용자 브라우저의 펄러그인 목록 출력하기
|
| 1824 | |
| 1823 | |
| 1814 |
JavaScript
Samba 설정
|
| 1810 | |
| 1809 | |
| 1790 |
JavaScript
Ajax(Asynchronous JavaScript and XML)란?
9
|
| 1750 | |
| 1742 | |
| 1739 | |
| 1738 |
JavaScript
웹문서에 주소창 넣기 스크립트
|
| 1737 | |
| 1736 | |
| 1734 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기