jwang3
            
          
          
          
              
              
          #1
          
         
        
          Hi,
How to fix the menu display in IE6 which will overlap with Select ?
It is when <asp:ScriptManager ID=“ScriptManager1” runat=“server”></asp:ScriptManager> is used.
Looks like its the way you detect IE 6, you using
this._isIE6 = (window.XMLHttpRequest==null?true:false)
window.XMLHttpRequest is not null if <asp:ScriptManager ID=“ScriptManager1” runat=“server”></asp:ScriptManager> is used.
So should change to
this._isIE6 = (navigator.userAgent.toLowerCase().indexOf(‘msie 6’) != -1 ? true : false)
Pls advise.
Thanks
Jeff
         
        
          
        
           
           
           
         
         
            
            
          
       
      
        
        
          Hi,
menu uses iframes as to fix the problem with select in IE. So, the problem can not occur.
Please provide the sample to reproduce the problem (the demo without server-side scripts).
         
        
        
           
           
           
         
         
            
            
          
       
      
        
          
          
            jwang3
            
          
          
          
              
              
          #3
          
         
        
          Thanks Alex, just updated the original question and found the root cause. Pls check.
         
        
        
           
           
           
         
         
            
            
          
       
      
        
        
          Try to set _isIE6 manually after menu initialization:
menu = new dhtmlXMenuObject(…);
menu._isIE6 = true;
         
        
        
           
           
           
         
         
            
            
          
       
      
        
          
          
            jwang3
            
          
          
          
              
              
          #5
          
         
        
          What if the browser is not IE 6? So better change the way detect the browser?
         
        
        
           
           
           
         
         
            
            
          
       
      
        
        
          You may use your approach to detect IE6  browser
menu._isIE6 = (navigator.userAgent.toLowerCase().indexOf(‘msie 6’) != -1 ? true : false);