我在FLEX上创建了网页,但与电动器(页面内容)和来自IE/firefox的底层地位线存在问题。 它们彼此之间很容易相互重叠(在前线存在地位障碍,隐藏了该页的内容),是否可读到这些要素的高度(从而改变dding子)。 (我知道,出于安全原因,禁止将他们开除)。
Code:
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="800" minHeight="600"
xmlns:components="components.*"
xmlns:men="components.pages.admin_subpage.*"
backgroundColor="#000000"
creationComplete="init()"
applicationComplete="application1_applicationCompleteHandler(event)"
skinClass="BackgroundColor"
>
<s:Scroller id="scroll" left="2" right="2" top="2" bottom="2">
<s:VGroup id="tresc"
textAlign="center" horizontalAlign="center" gap="10" horizontalCenter="0" bottom="0" paddingBottom="10" top="20" width="100%" height="100%"
gap.schowaneLogowanie="0">
<s:HGroup width="100%" paddingLeft="20" paddingTop="20" horizontalAlign="center" textAlign="center" verticalAlign="middle" width.schowaneLogowanie="91%" gap.schowaneLogowanie="0" paddingLeft.schowaneLogowanie="0" paddingRight.wysunieteLogowanie="15">
<s:Group width="100%">
<components:logo id="logo" width="100%" width.schowaneLogowanie="100%"/>
<s:HGroup width="100%" verticalAlign.schowaneLogowanie="middle" height.schowaneLogowanie="122" gap="0">
<mx:Spacer width="83%"/>
<s:TextInput height="30" contentBackgroundAlpha="0.3" width="12%" id="searchText" keyDown="hgr_keyDownHandler(event)" text="Search..." borderVisible.schowaneLogowanie="false"/>
<s:Button height="32" alpha="0.8" width="5%" click="button1_clickHandler(event)" label="Go"/>
</s:HGroup>
</s:Group>
</s:HGroup>
<men:menuTest id="menu" width="100%" textAlign="center"/> //Whole content of page is set here
<components:stopka id="stopka" bottom="5" left="5" right="5" />
<!--<components:menu currentState="wysunietaTresc" textAlign="center" width="100%"/>-->
</s:VGroup>
</s:Scroller>
</s:Application>
我从例子中删除了大部分 st。 我试图改变申请和推论,把申请推向先导,但这样做会带来帮助。
http://cerber.cs。