2012. 8. 26. 17:41ㆍ교육
새창 띄우기 스크립트
새창 띄우기 <a href="javascript:void(window.open('주소','팝업이름','width=가로,height=세로'))">Link</a>
온클릭 이용 <a href="#" onClick="window.open('주소','팝업이름','width=가로,height=세로');return false">Link</a>
버튼을 클릭할때 새창 띄우기 <input type="button" value="JSGUIDE" onClick="window.open'주소','팝업이름','width=가로,height=세로')">
페이지 로딩이 완료되면 새창 띄우기 <BODY onLoad="window.open('주소','팝업이름','width=가로,height=세로')">
무조건 새창 띄우기 <script langauge="javascript"> window.open("주소","팝업이름","width=가로,height=세로"); </script>
몇초 후에 새창 띄우기 <script langauge="javascript"> setTimeout("window.open('주소','팝업이름','width=가로,height=세로')",5000); //1000 = 1초 </script>
설정
location=no,directories=no,resizable=no,status=no,toolbar=no,menubar=no,
width=300,height=400,left=0,top=0,scrollbars=yes
'교육' 카테고리의 다른 글
소셜디바이스시대. 시대의 변화로 세대간 격차의 의미가 달라지고 있다. (2) | 2012.08.29 |
---|---|
스마트폰와 컴퓨터의 정확한 인터넷속도 이해하기 (2) | 2012.08.27 |
포고플러그 클래식 archlinux 설치하기 (1) | 2012.08.25 |
포그플러그는 하이브리드 클라우드 서비스이다. (2) | 2012.08.23 |
[포고플러그] 개인 및 소상공인을 위한 클라우드 시스템 구축하기 (3) | 2012.08.23 |