<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<Triggers>
<asp:AsyncPostBackTrigger ControlID="Timer1" EventName="Tick" />
</Triggers>
<ContentTemplate>
<asp:Timer ID="Timer1" runat="server" Interval="1000" ontick="Timer1_Tick">
</asp:Timer>
<asp:Panel ID="Panel1" runat="server" Height="50px" Width="370px"
BackColor="White" ForeColor="Blue" BorderWidth="2" BorderStyle="dashed"
BorderColor="DarkBlue" Style=" opacity:85; filter:alpha(opacity=85); position:relative;">
<asp:Label ID="lblSysUpTime" runat="server" Text="我的测试"></asp:Label>
<br />
<asp:Label ID="lblRAM" runat="server" Text="五千年的风和雨啊藏了多少梦"></asp:Label>
</asp:Panel>
<ajaxToolkit:AlwaysVisibleControlExtender ID="AVCE" HorizontalOffset="10" HorizontalSide="Right"
TargetControlID="Panel1" VerticalOffset="10" VerticalSide="Top" runat="server">
</ajaxToolkit:AlwaysVisibleControlExtender>
</ContentTemplate>
</asp:UpdatePanel>上面这段代码在firefox下面执行时滚动条定位不准,老是一跳一跳的。
但是在IE下面没有问题,请问有哪位知道原因吗。
<Triggers>
<asp:AsyncPostBackTrigger ControlID="Timer1" EventName="Tick" />
</Triggers>
<ContentTemplate>
<asp:Timer ID="Timer1" runat="server" Interval="1000" ontick="Timer1_Tick">
</asp:Timer>
<asp:Panel ID="Panel1" runat="server" Height="50px" Width="370px"
BackColor="White" ForeColor="Blue" BorderWidth="2" BorderStyle="dashed"
BorderColor="DarkBlue" Style=" opacity:85; filter:alpha(opacity=85); position:relative;">
<asp:Label ID="lblSysUpTime" runat="server" Text="我的测试"></asp:Label>
<br />
<asp:Label ID="lblRAM" runat="server" Text="五千年的风和雨啊藏了多少梦"></asp:Label>
</asp:Panel>
<ajaxToolkit:AlwaysVisibleControlExtender ID="AVCE" HorizontalOffset="10" HorizontalSide="Right"
TargetControlID="Panel1" VerticalOffset="10" VerticalSide="Top" runat="server">
</ajaxToolkit:AlwaysVisibleControlExtender>
</ContentTemplate>
</asp:UpdatePanel>上面这段代码在firefox下面执行时滚动条定位不准,老是一跳一跳的。
但是在IE下面没有问题,请问有哪位知道原因吗。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货