창을 전면으로 이동 : 창이름.focus();
창을 뒷면으로 이동 : 창이름.blur();
창에 포커스가 주어진 때 : 창이름.onfocus() = 실행명령;
창에서 포커스가 옮겨진때 : 창이름.onblur() = 실행명령;
 

  창을 활성화 시키기
<script language="javascript">
  window.focus();
</script>  

+ Recent posts