echo 안에 새창링크 문제 정보
echo 안에 새창링크 문제본문
<a href="#" onclick='window.open(this.href,'주소~','','toolbar=no, status=no, menubar=no, scrollbars=yes, width=200, height=300')'>
입니다 ㅇㅅㅇ
echo "<a href="#" onclick='window.open(this.href,주소~','','toolbar=no, status=no, menubar=no, scrollbars=yes, width=200, height=300')'>";
인데요 ;; "#"에 있는 " 떄문에 오류가 납니다 -ㅁ-.....
그래서 '로 바꿔줫더니 작동을 안하고요 ........=ㅁ=................
입니다 ㅇㅅㅇ
echo "<a href="#" onclick='window.open(this.href,주소~','','toolbar=no, status=no, menubar=no, scrollbars=yes, width=200, height=300')'>";
인데요 ;; "#"에 있는 " 떄문에 오류가 납니다 -ㅁ-.....
그래서 '로 바꿔줫더니 작동을 안하고요 ........=ㅁ=................
댓글 전체
탈출문자써보세요
echo "<a href=\"#\" onclick='window.open(this.href,주소~','','toolbar=no, status=no, menubar=no, scrollbars=yes, width=200, height=300')'>";
echo "<a href=\"#\" onclick='window.open(this.href,주소~','','toolbar=no, status=no, menubar=no, scrollbars=yes, width=200, height=300')'>";
흠 되긴 하는거 같은데;; 새창은 안뜨네요
현재 소스 ---
<a href=\"#\" onclick='window.open(this.href, '주소', 'toolbar=no, status=no, menubar=no, scrollbars=yes, width=200, height=300'); return false;'>
현재 소스 ---
<a href=\"#\" onclick='window.open(this.href, '주소', 'toolbar=no, status=no, menubar=no, scrollbars=yes, width=200, height=300'); return false;'>
<a href=\"#\" onclick=\"window.open(this.href, '주소', 'toolbar=no, status=no, menubar=no, scrollbars=yes, width=200, height=300'); return false;\">
이렇게 해보심이..
이렇게 해보심이..
여전히 안뜨네요 ;;
주소 맨뒤에 # 만붙고 상태표시줄이던가요... IE 맨밑에 있는거에는 '페이지에 오류가 있습니다.'
라고 뜹니다 ;;
주소 맨뒤에 # 만붙고 상태표시줄이던가요... IE 맨밑에 있는거에는 '페이지에 오류가 있습니다.'
라고 뜹니다 ;;
파일은 adm/visit_list.php 입니다 ;
window.open('주소', 'visit_list', 'toolbar=no, status=no, menubar=no, scrollbars=yes, width=200, height=300'); 이렇게 바꿔보세요
다른분들도 질문에 대해서 좋은 답변과 정확한 답변을 써주셨지만...
작동하는걸로 채택했습니다 ;; 다른분들도 감사합니다 ^^;
작동하는걸로 채택했습니다 ;; 다른분들도 감사합니다 ^^;