모바일 결제 때문에 window.open 사용했다가 아이폰(사파리)에서는 작동을 안함
아래 참고하고 해보았는데..사파리에선..안먹힌다..왜 안되지 ㅠㅠ.. 결국 window.open '_self' 사용했다..
----------------------------------------------------------------------------------------------------
출처| http://snowple.tistory.com/357
01 | var popup; |
02 |
03 | function pop() { |
04 | var settings = 'toolbar=0, status=0, menubar=0, scrollbars=yes, height=600, width=800' ; |
05 | var target = 'popup.html' ; |
06 | popup = window.open( 'about:blank' , 'popup_name' , settings); |
07 |
08 | $.load( "url" , function () { |
09 | popup.location = target; |
10 | }); |
11 | } |
----------------------------------------------------------------------------------------------------
'Web > 웹표준' 카테고리의 다른 글
javascript로 익스버전 체크 (0) | 2016.02.11 |
---|---|
ajax IE 에러 No Transport 액세스 거부 (0) | 2016.01.07 |
2015년 웹 디자인 트렌드 (0) | 2015.12.07 |
encoding 이해 (0) | 2015.11.30 |
http status code (0) | 2015.10.27 |