이 문서는 읽기 전용입니다. 원본을 볼 수는 있지만 바꿀 수는 없습니다. 문제가 있다고 생각하면 관리자에게 문의하세요. ====== resizedir 속성 가이드====== 컴포넌트의 resize_dir 속성에 대한 예시 화면이다. resize_dir 속성은 부모 컴포넌트/화면 크기 변경값만큼 크기 변경 방향을 기준으로 크기를 변경한다. % 단위(width_unit, height_unit을 percent로 지정) 크기 지정은 부모 컴포넌트/화면 크기의 백분율 값으로 지정한다. ===== 예시 ===== 템플릿 위치: /HTML5/COMPONENT/COMMON/resizedir_basic 템플릿 파일 * [[xf5projecthome>template/screen/HTML5/COMPONENT/COMMON/resizedir_basic.xml|resizedir_basic.xml]] * [[xf5projecthome>template/screen/HTML5/COMPONENT/COMMON/resizedir_basic.js|resizedir_basic.js]] * [[xf5projecthome>template/template.html?xframe_screen_url=/HTML5/COMPONENT/COMMON/resizedir_basic|새창으로 실행]] <php> echo '<html>'; echo '<iframe src="'; echo $conf['plugin']['xf5']['xf5projecthome'], 'template/template.html?'; echo 'xframe_screen_url=/HTML5/COMPONENT/COMMON/resizedir_basic"'; echo ' class="_xf5_iframe"'; echo ' style="'; echo $conf['plugin']['xf5']['xf5iframestyle']; echo '">'; echo '</iframe>'; echo '</html>'; </php> ==== 화면 스크립트 ==== <sxh javascript> // 화면 로드 이벤트 function screen_on_load() { } </sxh> guide/component/common/resizedir_basic.txt 마지막으로 수정됨: 2023/08/07 16:31저자 127.0.0.1