이 문서는 읽기 전용입니다. 원본을 볼 수는 있지만 바꿀 수는 없습니다. 문제가 있다고 생각하면 관리자에게 문의하세요. ====== 이미지 zoomlens 속성 가이드 ====== 이미지 컴포넌트의 이미지 zoomlens 속성 관련 화면이다. 관련 속성으로 zoomlens_width, zoomlens_height, zoomlens_target, zoomlens_autohide가 있다. 관련 API로 hidezoomlens, removezoomlens, setzoomlens, showzoomlens가 있다. ===== 예시 ===== 템플릿 위치: /HTML5/COMPONENT/IMAGE/image_zoomlens 템플릿 파일 * [[xf5projecthome>template/screen/HTML5/COMPONENT/IMAGE/image_zoomlens.xml|image_zoomlens.xml]] * [[xf5projecthome>template/screen/HTML5/COMPONENT/IMAGE/image_zoomlens.js|image_zoomlens.js]] * [[xf5projecthome>template/template.html?xframe_screen_url=/HTML5/COMPONENT/IMAGE/image_zoomlens|새창으로 실행]] <php> echo '<html>'; echo '<iframe src="'; echo $conf['plugin']['xf5']['xf5projecthome'], 'template/template.html?'; echo 'xframe_screen_url=/HTML5/COMPONENT/IMAGE/image_zoomlens"'; echo ' class="_xf5_iframe"'; echo ' style="'; echo $conf['plugin']['xf5']['xf5iframestyle']; echo '">'; echo '</iframe>'; echo '</html>'; </php> ==== 화면 스크립트 ==== <sxh javascript> // "setzoomlens" 버튼 이벤트 function btn_setzoomlens_on_click(objInst) { this.img_test.setzoomlens(this.div, this.fld_w.gettext(), this.fld_h.gettext(), this.chk_A.getcheck(), this.chk_Z.getcheck()); } </sxh> guide/component/image/image_zoomlens.txt 마지막으로 수정됨: 2024/04/12 15:46저자 127.0.0.1