이 문서는 읽기 전용입니다. 원본을 볼 수는 있지만 바꿀 수는 없습니다. 문제가 있다고 생각하면 관리자에게 문의하세요. ====== 리스트뷰 동적높이(포틀릿 메인) 가이드 ====== screen_on_load 에서 addportlettab 으로 /TEMPLATE/HTML5/COMPONENT/LISTVIEW/listview_height_auto_portlet 화면을 탭에 추가 ===== 예시 ===== 템플릿 위치: /HTML5/COMPONENT/LISTVIEW/listview_height_auto_portlet_main 템플릿 파일 * [[xf5projecthome>template/screen/HTML5/COMPONENT/LISTVIEW/listview_height_auto_portlet_main.xml|listview_height_auto_portlet_main.xml]] * [[xf5projecthome>template/screen/HTML5/COMPONENT/LISTVIEW/listview_height_auto_portlet_main.js|listview_height_auto_portlet_main.js]] * [[xf5projecthome>template/template.html?xframe_screen_url=/HTML5/COMPONENT/LISTVIEW/listview_height_auto_portlet_main|새창으로 실행]] <php> echo '<html>'; echo '<iframe src="'; echo $conf['plugin']['xf5']['xf5projecthome'], 'template/template.html?'; echo 'xframe_screen_url=/HTML5/COMPONENT/LISTVIEW/listview_height_auto_portlet_main"'; echo ' class="_xf5_iframe"'; echo ' style="'; echo $conf['plugin']['xf5']['xf5iframestyle']; echo '">'; echo '</iframe>'; echo '</html>'; </php> ==== 화면 스크립트 ==== <sxh javascript> function screen_on_load() { tab01.addportlettab("리스트뷰 동적높이 포틀릿", 1, 160, "/TEMPLATE/HTML5/COMPONENT/LISTVIEW/listview_height_auto_portlet", "my_portlet"); } </sxh> guide/component/listview/listview_height_auto_portlet_main.txt 마지막으로 수정됨: 2023/10/26 10:27저자 127.0.0.1