이 문서는 읽기 전용입니다. 원본을 볼 수는 있지만 바꿀 수는 없습니다. 문제가 있다고 생각하면 관리자에게 문의하세요. ====== tabitem_height_type 속성 가이드 ====== 탭 tabitem_height_type 속성 예시 화면이다. tabitem_height_type 속성을 이용하여 탭 아이템의 높이 유형을 설정한다. tabitem_height_type 속성은 1:auto 지정시, tabitem_height 속성값은 무시되고, 탭 아이템 텍스트를 기준으로 높이가 자동으로 계산된다. tabitem_height 속성은 tabitem_height_type 속성이 0:fix인 경우에만 적용된다. 관련 속성으로 tabitem_height_type, tabitem_height이 있다. 관련 API로 gettabitemheight, settabitemheight가 있다. ===== 예시 ===== 템플릿 위치: /HTML5/COMPONENT/TAB/tab_itemheighttype 템플릿 파일 * [[xf5projecthome>template/screen/HTML5/COMPONENT/TAB/tab_itemheighttype.xml|tab_itemheighttype.xml]] * [[xf5projecthome>template/screen/HTML5/COMPONENT/TAB/tab_itemheighttype.js|tab_itemheighttype.js]] * [[xf5projecthome>template/template.html?xframe_screen_url=/HTML5/COMPONENT/TAB/tab_itemheighttype|새창으로 실행]] <php> echo '<html>'; echo '<iframe src="'; echo $conf['plugin']['xf5']['xf5projecthome'], 'template/template.html?'; echo 'xframe_screen_url=/HTML5/COMPONENT/TAB/tab_itemheighttype"'; echo ' class="_xf5_iframe"'; echo ' style="'; echo $conf['plugin']['xf5']['xf5iframestyle']; echo '">'; echo '</iframe>'; echo '</html>'; </php> ==== 화면 스크립트 ==== <sxh javascript> // "settabitemheight" 버튼 이벤트 function btn_itemheight_on_mouseup(objInst) { this.tab.settabitemheight(this.fld_heigth.gettext()); } </sxh> guide/component/tab/tab_itemheighttype.txt 마지막으로 수정됨: 2024/07/19 10:41저자 127.0.0.1