테스트 사이트 - 개발 중인 베타 버전입니다

smarteditor2 의 위치를 수정하니 iframe 의 height가 0px 로 됩니다 채택완료

라균 3년 전 조회 2,614

안녕하세요 기존 폼에서 rumitab(https://sir.kr/g5_skin/32960) 으로 변경작업중이였습니다.

 

$editor_html 에 smarteditor2의 에디터가 들어갑니다.

 

</p>

<p><div class="wrap_sub wrap_form"></p>

<p><form></p>

<p><div class="tbl_frm01 tbl_wrap"></p>

<p><table></p>

<p><tr></p>

<p><th></th></p>

<p><td><div class="editor_wr"><? echo $editor_html; ?></div></td></p>

<p></tr></p>

<p></table></p>

<p></div></p>

<p></form></p>

<p></div></p>

<p>

.tbl_frm01>table>.editor_wr

$editor_html 을 위와같은 위치에 두었을때는 높이가 349px로 잘 적용되어 나오는데

 

</p>

<p><div class="wrap_sub wrap_form"></p>

<p><form></p>

<p><div id="rumitab_div" class="rumitab_box"></p>

<p><div class="tbl_frm01 tbl_wrap"></p>

<p><ul class="rumitab">

<li rel="A_tab1">탭추가</li></p>

<p></ul></p>

<p><div class="rumitab_container"></p>

<p><div id="A_tab1" class="rumitab_content">

<? // include(G5_ADM_PATH.'/추가된탭.php'); ?> <!-- 아래 내용 --></p>

<p><table></p>

<p><tr></p>

<p><th></th></p>

<p><td><div class="editor_wr"><? echo $editor_html; ?></div></td></p>

<p></tr></p>

<p></table></p>

<p></div></p>

<p></div></p>

<p></div></p>

<p></div></p>

<p></form></p>

<p></div></p>

<p>

#rumitab_div>.tbl_frm01>table>.editor_wr

 

#rumitab_div 가 추가된 이후 

$editor_html 을 위와같은 위치에 두었을때는 높이가 0px로 값이 나옵니다.

 

그래서 꼼수로 .editor_wr>iframe  높이를 수정했지만

element.style {height:0px;} 로 되어서 보이지 안데 되더라구요 ㅠ

 

css를 찾으면 될거같은데 element.style 로 되어있어서 찾기가 어렵네요..

smarteditor2 의 html 위치가 변경된곳을 찾아 css가 잘 적용되도록 하고 싶어요

댓글을 작성하려면 로그인이 필요합니다.

답변 1개

라균
3년 전

으아... 첫 탭으로 이동하니 잘 나오는데 첫탭이 아니면 나오지 않네요... ㅠㅠ

로그인 후 평가할 수 있습니다

댓글을 작성하려면 로그인이 필요합니다.

답변을 작성하려면 로그인이 필요합니다.

로그인