창크기 자동 조절

· 19년 전 · 2978
<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,222
19년 전 조회 3,071
19년 전 조회 3,488
19년 전 조회 5,186
19년 전 조회 3,105
19년 전 조회 3,114
19년 전 조회 2,695
19년 전 조회 2,433
19년 전 조회 2,690
19년 전 조회 2,426
19년 전 조회 2,539
19년 전 조회 2,336
19년 전 조회 2,680
19년 전 조회 2,946
19년 전 조회 3,238
19년 전 조회 7,038
19년 전 조회 5,156
19년 전 조회 2,412
19년 전 조회 5,136
19년 전 조회 3,086
19년 전 조회 2,436
19년 전 조회 2,126
19년 전 조회 3,557
19년 전 조회 2,870
19년 전 조회 3,240
19년 전 조회 2,867
19년 전 조회 3,363
19년 전 조회 2,685
19년 전 조회 3,435
19년 전 조회 2,395
19년 전 조회 4,080
19년 전 조회 3,268
19년 전 조회 4,114
19년 전 조회 3,457
19년 전 조회 3,085
19년 전 조회 3,380
19년 전 조회 2,427
19년 전 조회 2,834
19년 전 조회 2,328
19년 전 조회 3,697
19년 전 조회 4,727
19년 전 조회 3,758
19년 전 조회 1,718
19년 전 조회 2,726
19년 전 조회 2,373
19년 전 조회 2,609
19년 전 조회 4,392
19년 전 조회 2,564
19년 전 조회 3,019
19년 전 조회 2,979
19년 전 조회 3,651
19년 전 조회 3,606
19년 전 조회 1,830
19년 전 조회 2,198
19년 전 조회 2,762
19년 전 조회 2,423
19년 전 조회 4,292
19년 전 조회 3,283
19년 전 조회 4,065
19년 전 조회 2,584
19년 전 조회 2,465
19년 전 조회 2,936
19년 전 조회 2,464
19년 전 조회 2,763
19년 전 조회 2,447
19년 전 조회 3,159
19년 전 조회 1,676
19년 전 조회 2,973
19년 전 조회 2,244
19년 전 조회 2,166
19년 전 조회 2,260
19년 전 조회 2,614
19년 전 조회 2,099
20년 전 조회 4,446
20년 전 조회 2,660
20년 전 조회 2,438
20년 전 조회 2,943
20년 전 조회 3,037
20년 전 조회 3,096
20년 전 조회 2,623
20년 전 조회 2,999
20년 전 조회 2,527
20년 전 조회 2,187
20년 전 조회 2,769
20년 전 조회 2,458
20년 전 조회 2,529
20년 전 조회 3,784
20년 전 조회 3,257
20년 전 조회 4,978
20년 전 조회 2,398
20년 전 조회 4,491
20년 전 조회 3,090
20년 전 조회 2,869
20년 전 조회 3,712
20년 전 조회 2,631
20년 전 조회 3,709
20년 전 조회 3,983
20년 전 조회 3,412
20년 전 조회 3,458
20년 전 조회 4,080
🐛 버그신고