창크기 자동 조절

· 19년 전 · 2970
<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>
|
댓글을 작성하시려면 로그인이 필요합니다. 로그인

프로그램

+
제목 글쓴이 날짜 조회
19년 전 조회 2,212
19년 전 조회 3,062
19년 전 조회 3,481
19년 전 조회 5,174
19년 전 조회 3,098
19년 전 조회 3,105
19년 전 조회 2,685
19년 전 조회 2,427
19년 전 조회 2,683
19년 전 조회 2,418
19년 전 조회 2,529
19년 전 조회 2,328
19년 전 조회 2,671
19년 전 조회 2,937
19년 전 조회 3,227
19년 전 조회 7,031
19년 전 조회 5,148
19년 전 조회 2,405
19년 전 조회 5,129
19년 전 조회 3,077
19년 전 조회 2,428
19년 전 조회 2,118
19년 전 조회 3,547
19년 전 조회 2,864
19년 전 조회 3,233
19년 전 조회 2,859
19년 전 조회 3,354
19년 전 조회 2,679
19년 전 조회 3,427
19년 전 조회 2,388
19년 전 조회 4,073
19년 전 조회 3,260
19년 전 조회 4,101
19년 전 조회 3,451
19년 전 조회 3,078
19년 전 조회 3,373
19년 전 조회 2,419
19년 전 조회 2,826
19년 전 조회 2,321
19년 전 조회 3,686
19년 전 조회 4,719
19년 전 조회 3,750
19년 전 조회 1,710
19년 전 조회 2,722
19년 전 조회 2,363
19년 전 조회 2,601
19년 전 조회 4,387
19년 전 조회 2,557
19년 전 조회 3,010
19년 전 조회 2,971
19년 전 조회 3,643
19년 전 조회 3,597
19년 전 조회 1,819
19년 전 조회 2,191
19년 전 조회 2,753
19년 전 조회 2,417
19년 전 조회 4,285
19년 전 조회 3,279
19년 전 조회 4,059
19년 전 조회 2,576
19년 전 조회 2,459
19년 전 조회 2,927
19년 전 조회 2,457
19년 전 조회 2,754
19년 전 조회 2,441
19년 전 조회 3,150
19년 전 조회 1,666
19년 전 조회 2,965
19년 전 조회 2,232
19년 전 조회 2,160
19년 전 조회 2,254
19년 전 조회 2,608
19년 전 조회 2,092
19년 전 조회 4,440
19년 전 조회 2,653
19년 전 조회 2,430
19년 전 조회 2,936
20년 전 조회 3,030
20년 전 조회 3,087
20년 전 조회 2,616
20년 전 조회 2,994
20년 전 조회 2,521
20년 전 조회 2,180
20년 전 조회 2,763
20년 전 조회 2,450
20년 전 조회 2,524
20년 전 조회 3,778
20년 전 조회 3,250
20년 전 조회 4,969
20년 전 조회 2,393
20년 전 조회 4,484
20년 전 조회 3,082
20년 전 조회 2,860
20년 전 조회 3,707
20년 전 조회 2,623
20년 전 조회 3,703
20년 전 조회 3,977
20년 전 조회 3,404
20년 전 조회 3,453
20년 전 조회 4,070
🐛 버그신고