창크기 자동 조절

· 19년 전 · 2972
<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,214
19년 전 조회 3,063
19년 전 조회 3,484
19년 전 조회 5,178
19년 전 조회 3,100
19년 전 조회 3,106
19년 전 조회 2,685
19년 전 조회 2,428
19년 전 조회 2,684
19년 전 조회 2,420
19년 전 조회 2,531
19년 전 조회 2,330
19년 전 조회 2,673
19년 전 조회 2,939
19년 전 조회 3,231
19년 전 조회 7,032
19년 전 조회 5,150
19년 전 조회 2,406
19년 전 조회 5,130
19년 전 조회 3,078
19년 전 조회 2,430
19년 전 조회 2,119
19년 전 조회 3,549
19년 전 조회 2,864
19년 전 조회 3,235
19년 전 조회 2,860
19년 전 조회 3,357
19년 전 조회 2,681
19년 전 조회 3,428
19년 전 조회 2,389
19년 전 조회 4,074
19년 전 조회 3,260
19년 전 조회 4,104
19년 전 조회 3,452
19년 전 조회 3,078
19년 전 조회 3,374
19년 전 조회 2,420
19년 전 조회 2,826
19년 전 조회 2,323
19년 전 조회 3,687
19년 전 조회 4,720
19년 전 조회 3,753
19년 전 조회 1,711
19년 전 조회 2,722
19년 전 조회 2,363
19년 전 조회 2,602
19년 전 조회 4,387
19년 전 조회 2,559
19년 전 조회 3,010
19년 전 조회 2,973
19년 전 조회 3,643
19년 전 조회 3,600
19년 전 조회 1,821
19년 전 조회 2,191
19년 전 조회 2,754
19년 전 조회 2,418
19년 전 조회 4,286
19년 전 조회 3,280
19년 전 조회 4,060
19년 전 조회 2,576
19년 전 조회 2,460
19년 전 조회 2,927
19년 전 조회 2,457
19년 전 조회 2,756
19년 전 조회 2,442
19년 전 조회 3,151
19년 전 조회 1,667
19년 전 조회 2,966
19년 전 조회 2,233
19년 전 조회 2,160
19년 전 조회 2,256
19년 전 조회 2,609
19년 전 조회 2,092
19년 전 조회 4,440
19년 전 조회 2,653
19년 전 조회 2,431
19년 전 조회 2,937
20년 전 조회 3,030
20년 전 조회 3,088
20년 전 조회 2,617
20년 전 조회 2,995
20년 전 조회 2,521
20년 전 조회 2,182
20년 전 조회 2,765
20년 전 조회 2,451
20년 전 조회 2,524
20년 전 조회 3,779
20년 전 조회 3,251
20년 전 조회 4,970
20년 전 조회 2,394
20년 전 조회 4,486
20년 전 조회 3,085
20년 전 조회 2,862
20년 전 조회 3,708
20년 전 조회 2,624
20년 전 조회 3,705
20년 전 조회 3,978
20년 전 조회 3,405
20년 전 조회 3,454
20년 전 조회 4,073
🐛 버그신고