창크기 자동 조절

· 19년 전 · 2977
<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,185
19년 전 조회 3,105
19년 전 조회 3,113
19년 전 조회 2,694
19년 전 조회 2,433
19년 전 조회 2,689
19년 전 조회 2,426
19년 전 조회 2,538
19년 전 조회 2,336
19년 전 조회 2,679
19년 전 조회 2,944
19년 전 조회 3,236
19년 전 조회 7,036
19년 전 조회 5,156
19년 전 조회 2,412
19년 전 조회 5,136
19년 전 조회 3,085
19년 전 조회 2,436
19년 전 조회 2,124
19년 전 조회 3,556
19년 전 조회 2,870
19년 전 조회 3,239
19년 전 조회 2,867
19년 전 조회 3,363
19년 전 조회 2,685
19년 전 조회 3,435
19년 전 조회 2,395
19년 전 조회 4,080
19년 전 조회 3,268
19년 전 조회 4,113
19년 전 조회 3,457
19년 전 조회 3,085
19년 전 조회 3,380
19년 전 조회 2,427
19년 전 조회 2,834
19년 전 조회 2,328
19년 전 조회 3,696
19년 전 조회 4,727
19년 전 조회 3,757
19년 전 조회 1,718
19년 전 조회 2,726
19년 전 조회 2,373
19년 전 조회 2,609
19년 전 조회 4,392
19년 전 조회 2,564
19년 전 조회 3,018
19년 전 조회 2,978
19년 전 조회 3,651
19년 전 조회 3,606
19년 전 조회 1,829
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,675
19년 전 조회 2,973
19년 전 조회 2,243
19년 전 조회 2,166
19년 전 조회 2,259
19년 전 조회 2,614
19년 전 조회 2,099
20년 전 조회 4,445
20년 전 조회 2,660
20년 전 조회 2,438
20년 전 조회 2,942
20년 전 조회 3,036
20년 전 조회 3,096
20년 전 조회 2,623
20년 전 조회 2,999
20년 전 조회 2,527
20년 전 조회 2,187
20년 전 조회 2,769
20년 전 조회 2,457
20년 전 조회 2,529
20년 전 조회 3,783
20년 전 조회 3,257
20년 전 조회 4,978
20년 전 조회 2,398
20년 전 조회 4,491
20년 전 조회 3,089
20년 전 조회 2,868
20년 전 조회 3,712
20년 전 조회 2,631
20년 전 조회 3,709
20년 전 조회 3,983
20년 전 조회 3,411
20년 전 조회 3,458
20년 전 조회 4,080
🐛 버그신고