새창으로 링크를 띄우고 싶어요~
본문
else if(p==7){
location.href="http://exh.educenter.kr/" ;
이 아이를 새창으로 띄우고 싶은데...
제가 아는 지식으로 뒤에 target="_blank" 로 해도 안되네요 ㅠ
알려주시면 감사하겠습니다~
답변 3
window.open('http://exh.educenter.kr');
window.open() 옵션
- fullscreen = 전체 창. (yes/no)(default : no)
- location = 주소창이 활성화. (yes/no)(default : yes)
- menubar = 메뉴바 visible. (yes/no)(default : yes)
- titlebar = 타이틀바. (yes/no)(default : yes)
- toolbar = 툴바. (yes/no)(default : yes)
- resizable = 창 사이즈 변경. (yes/no)(default : yes)
- scrollbars = 스크롤바. (yes/no)(default : yes)
- width = 창 가로 크기
- height = 창 세로 크기
target="blank"
window.open('해당 주소');
답변을 작성하시기 전에 로그인 해주세요.