12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.4">
- <TypeDefinition url="..\default_typedef.xml"/>
- <Form id="test1" position="absolute 0 0 1211 784" titletext="TEST" style="margin: 0 8 0 8;" onload="Web00_onload">
- <Layouts>
- <Layout>
- <Static id="Static00" text="웹사이트 호출" position="absolute 0 0 1210 34" anchor="left top right" style="background:#4fcee5ff;border:1 solid #428cb6ff ;color:black;padding:0 0 0 10;bordertype:round 3 3 ;font:Malgun Gothic,12, antialias;"/>
- <ActiveX id="msie" position="absolute 12 108 1128 648" progid="{8856F961-340A-11D0-A96B-00C04FD705A2}" windowed="true" useautobitmapcache="1" style="border:0 none #dcdcdcff #ffffffff; bordertype:normal 0 0 ; shadow:drop 0,0 0 #8080807d; " taborder="1" TitleChange="msie_TitleChange" WindowClosing="msie_WindowClosing"/>
- <Button id="Button01" taborder="5" text="브라우져 직접 실행" onclick="Button01_onclick" class="WK_btn_GridBtn" position="absolute 12 69 132 88"/>
- </Layout>
- </Layouts>
- <Objects/>
- <Script type="xscript4.0"><![CDATA[
- /**
- * <p>Form이 로딩된 후 발생</p>
- */
- function Web00_onload(obj:Form, e:LoadEventInfo)
- {
-
- var sUrl = "http://www.naver.com";
- var sPostData = "";
-
- //IE에 Post 방식으로 Data를 전달해서 브라우징 한다.
- fn_PostNavigate(msie, sUrl, sPostData);
- }
- /**
- * <p>화면에 임베디드된 IE 영역에 Post 방식으로 Data를 전달해서 브라우징 한다.</p>
- * @param objActiveX - IE Object
- * @param sUrl - 브라우징할 웹주소
- * @param sPostData - Post 방식으로 전송할 Data
- * @return
- */
- function fn_PostNavigate(objIE, sUrl, sPostData)
- {
- var objPostData = new Buffer(sPostData, "utf-8");
- var sHeader = "Content-Type: application/x-www-form-urlencoded";
-
- objIE.Navigate2(sUrl, objIE.name, "", objPostData.data, sHeader);
- }
- function Button01_onclick(obj:Button, e:ClickEventInfo)
- {
- system.execShell("http://www.naver.com");
- }
- ]]></Script>
- </Form>
- </FDL>
|