作者HelloJimmy (揪~~竟,能不能考上?)
看板Flash
标题[问题] IFrame的scrollbar??
时间Wed May 30 00:52:12 2012
大家好,
我想再我的AIR web application中嵌入网页,
找到这个网址
http://www.deitte.com/IFrameDemo3/IFrameDemo.html
也下载了范例程式.
但奇怪的是,
我实作的画面右边的IFrame无法以scrollbar卷动画面,
程式码如下:
<s:NavigatorContent id="real_location" x="0" y="0" width="100%" height="100%" label="real_location">
<s:HGroup x="0" y="0" width="100%" height="100%" gap="0" verticalAlign="middle">
<mx:Tree id="mobile_disp_tree" x="0" y="0" width="20%" height="100%"
borderVisible="false" contentBackgroundColor="#FFFFFF"
dataProvider="{treeData}" dropShadowVisible="false" paddingBottom="1"
paddingLeft="1" paddingRight="1" paddingTop="1">
</mx:Tree>
<iframe:IFrame width="100%" height="100%" source="
http://tw.yahoo.com" scrollPolicy="auto">
</iframe:IFrame>
</s:HGroup>
</s:NavigatorContent>
不管tree及IFrame有没有用Panel包起来都一样,
why??
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 114.45.7.71