2011-06-27 25 views
0

在我的項目中,我正在使用更新進度欄。點擊按鈕後,背景頁面將被禁用。它在IE7,Firefox和Chrome中運行良好。但在IE6中,下拉菜單顯示在進度條後面。任何人都可以幫助我解決這個問題。下面的代碼:如何在IE6中阻止下拉菜單

<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="fp_t012stk.aspx.vb" Inherits="fp_t012stk" title="Current Stock Report" %> 


    <asp:UpdateProgress id="UpdateProgress1" AssociatedUpdatePanelID="UpdatePanel1" runat="server" DisplayAfter="0"> 
<progresstemplate> 

<div id="Layer1" style="top:45px; left:0px; width:80%; height:100%; z-index:1; background:gray; display:block; vertical-align:middle; text-align:center; padding:130px; font: 18px/1.6 Times New Roman; margin:0px 0px 0px 0px; background-color:Gray;filter: alpha(opacity=60); opacity: 0.1; width:76%; height:100%; overflow:auto; text-decoration:none; color:Black; position:absolute; top:0px; left:0%; margin-left:-10px"> 


       <asp:Image ID="imgloading" runat="server" ImageUrl="~/images/ajax-loader2.gif" /><br /> 
      </div> 


</progresstemplate> 
    </asp:UpdateProgress> 
    <br /> 
</asp:Content> 

在此先感謝

+1

客戶端請求是否支持IE6? –

+0

我傾向於同意Babak的方向......如果IE6不是必需的支持項目,我不會爲它編碼。 IE6非常古老,將被運行Windows 9x的客戶使用。即使是最基本的計算機用戶也平均使用Windows XP(我在一家支持公司工作,而且自從我們收到Windows 9x或IE6電話以來,至少已經有5年了)。 – akuta

回答

0

檢查你的HTML輸出。並查看下拉列表的z-index和進度欄樣式值。可能兩者都有1,或下拉較小的值(0,-1)。嘗試指定進度條樣式的最低值比其他控件。

+0

在此之前,我沒有設置任何z索引,但它在mozila和ie0 –

+0

耶,但是如何不同的瀏覽器解釋樣式可能是不同的。特別是ie 6.所以試一試.. – Illuminati

+0

我已經嘗試了許多值z-index但它不是用 –