이 문서는 읽기 전용입니다. 원본을 볼 수는 있지만 바꿀 수는 없습니다. 문제가 있다고 생각하면 관리자에게 문의하세요. ====== 팝업샘플 스타일 화면 가이드 ====== 스타일 팝업 예시 화면이다. 관련 API로 modifypopupstyle, setpopupdragarea가 있다. ===== 예시 ===== 템플릿 위치: /HTML5/SCREEN/POPUP/popup_style_screen 템플릿 파일 * [[xf5projecthome>template/screen/HTML5/SCREEN/POPUP/popup_style_screen.xml|popup_style_screen.xml]] * [[xf5projecthome>template/screen/HTML5/SCREEN/POPUP/popup_style_screen.js|popup_style_screen.js]] * [[xf5projecthome>template/template.html?xframe_screen_url=/HTML5/SCREEN/POPUP/popup_style_screen|새창으로 실행]] <php> echo '<html>'; echo '<iframe src="'; echo $conf['plugin']['xf5']['xf5projecthome'], 'template/template.html?'; echo 'xframe_screen_url=/HTML5/SCREEN/POPUP/popup_style_screen"'; echo ' class="_xf5_iframe"'; echo ' style="'; echo $conf['plugin']['xf5']['xf5iframestyle']; echo '">'; echo '</iframe>'; echo '</html>'; </php> ==== 화면 스크립트 ==== <sxh javascript> // "modifypopupstyle" 버튼 이벤트 function btn_modifypopupstyle_on_mouseup(objInst) { screen.modifypopupstyle(this.chk_Title.getcheck(), this.chk_Close.getcheck(), this.chk_MIN.getcheck(), this.chk_MAX.getcheck()); } // "setpopupdragarea" 버튼 이벤트 function btn_setpopupdragarea_on_mouseup(objInst) { screen.setpopupdragarea(this.fld_l.gettext(), this.fld_t.gettext(), this.fld_r.gettext(), this.fld_b.gettext()); } </sxh> guide/screen/popup/popup_style_screen.txt 마지막으로 수정됨: 2023/12/08 16:25저자 127.0.0.1