FineUI 官方论坛
标题:
如何获取IFrameUrl中页面的信息
[打印本页]
作者:
春宵一刻值千金
时间:
2012-8-21 06:41
标题:
如何获取IFrameUrl中页面的信息
<%--主体--%>
<ext:Region ID="RegionMain" ShowHeader="false" Layout="Fit" Margins="0 0 0 0" Position="Center" CssStyle="width:100%;height:100%;" runat="server">
<%--工具条--%>
<Toolbars>
<ext:Toolbar ID="Toolbar" runat="server">
<Items>
<ext:Button ID="btnSideBar" Icon="Outline" EnableAjaxLoading="false" Text="侧边栏" runat="server">
</ext:Button>
<ext:Button ID="btnZoomIn" Icon="ZoomIn" EnableAjaxLoading="false" Text="放大" runat="server">
</ext:Button>
<ext:Button ID="btnZoomOut" Icon="ZoomOut" EnableAjaxLoading="false" Text="缩小" runat="server">
</ext:Button>
<ext:Button ID="btnPan" Icon="Zoom" EnableAjaxLoading="false" Text="平移" runat="server">
</ext:Button>
<ext:Button ID="btnGlobe" Icon="World" EnableAjaxLoading="false" Text="全图" runat="server">
</ext:Button>
<ext:Button ID="btnIdentify" Icon="Information" EnableAjaxLoading="false" Text="查询" runat="server">
</ext:Button>
<ext:Button ID="btnLength" Icon="TagBlue" EnableAjaxLoading="false" Text="量距" runat="server">
</ext:Button>
<ext:Button ID="btnArea" Icon="TagRed" EnableAjaxLoading="false" Text="量面" runat="server">
</ext:Button>
<ext:Button ID="btnCamera" Icon="Camera" EnableAjaxLoading="false" Text="截图" runat="server">
</ext:Button>
<ext:Button ID="btnClear" Icon="Delete" EnableAjaxLoading="false" Text="清理" runat="server">
</ext:Button>
</Items>
</ext:Toolbar>
</Toolbars>
<%--地图--%>
<Items>
<ext
anel ID="mapPanel" ShowHeader="false" EnableIFrame="true" IFrameUrl="./map.htm" CssStyle="width:100%;height:100%;" runat="server">
</ext
anel>
<%--<ext:ContentPanel ShowHeader="false" CssStyle="width:100%;height:100%;" runat="server">
<div dojotype="dijit.layout.BorderContainer" design="headline" gutters="false" style="width: 100%; height: 100%; margin: 0;">
<div id="mapDiv" dojotype="dijit.layout.ContentPane" region="center" style="overflow:hidden;">
</div>
</div>
</ext:ContentPanel>--%>
</Items>
</ext:Region>
因为一些原因,我地图这边只能通过IFrameUrl的方式加载另一个页面,现在我想知道,我如何与./map.htm里的元素进行交互?
欢迎光临 FineUI 官方论坛 (https://fineui.com/bbs/)
Powered by Discuz! X3.4