로딩
요청 처리 중입니다...

마우스로 DIV 높이 조절 (상하로 화면분할)

 마우스로 DIV 높이 조절 (상하로 화면분할)

상하로 나뉜 DIV 화면을 마우스로 드레그하여 크기를 조절 .div1 {position:relative; top:0; width:100%; height:200px;overflow:auto;} .div2 {position:relative; top:0; width:100%; height:200px;overflow:auto;} #middle {cursor:pointer;} var startpos, diffpos=0, eControl = false; function divMouseDown(e) { if (!document.all) startpos = e.screenY + diffpos; else startpos = event.clientY + diffpos; eControl = true; return false; } function divMouseUp...