상위로 이동
로그인
오마이사이트

지식나눔

IE9 스마트 에디터 출력 안되는 현상

1. javascript 오류는

Husky.SE_Basic.js 파일의

if(this.bIE){button=document.createElement("<BUTTON type='button'>");}else{button=document.createElement("BUTTON");button.type="button";} 코드를 아래와 같이 수정해 주면 해결 됩니다.


if(this.bIE){if(navigator.appVersion.indexOf("MSIE 9") > -1){button=document.createElement("BUTTON");button.type="button"; }else{button=document.createElement("<BUTTON type='button'>");}}else{button=document.createElement("BUTTON");button.type="button";}


2. 특정 페이지의 스마트에디터만 출력 안되는 현상은

DOCTYPE 을 선언하지 않으면 IE9에서 쿼크모드로 자동으로 바뀌는 현상이 있고 이로 인해 어떤 페이지에서는 잘 나오는데 특정 페이지에서는 스마트에디터가 안나오는 현상이 있었습니다.

쿼크모드로 변경되지 않도록 DOCTYPE 선언을 확실히 해 줄 필요가 있겠습니다.

공유하기
등록자

이주한

등록일
2011-08-08 08:07
조회
27,697