smarteditor2 의 위치를 수정하니 iframe 의 height가 0px 로 됩니다
본문
안녕하세요
기존 폼에서 rumitab(https://sir.kr/g5_skin/32960) 으로 변경작업중이였습니다.
$editor_html 에 smarteditor2의 에디터가 들어갑니다.
<div class="wrap_sub wrap_form">
<form>
<div class="tbl_frm01 tbl_wrap">
<table>
<tr>
<th></th>
<td><div class="editor_wr"><? echo $editor_html; ?></div></td>
</tr>
</table>
</div>
</form>
</div>
.tbl_frm01>table>.editor_wr
$editor_html 을 위와같은 위치에 두었을때는 높이가 349px로 잘 적용되어 나오는데
<div class="wrap_sub wrap_form">
<form>
<div id="rumitab_div" class="rumitab_box">
<div class="tbl_frm01 tbl_wrap">
<ul class="rumitab">
<li rel="A_tab1">탭추가</li>
</ul>
<div class="rumitab_container">
<div id="A_tab1" class="rumitab_content">
<? // include(G5_ADM_PATH.'/추가된탭.php'); ?> <!-- 아래 내용 -->
<table>
<tr>
<th></th>
<td><div class="editor_wr"><? echo $editor_html; ?></div></td>
</tr>
</table>
</div>
</div>
</div>
</div>
</form>
</div>
#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가 잘 적용되도록 하고 싶어요
!-->!-->
답변을 작성하시기 전에 로그인 해주세요.