你的Ie版本?是5的就升到6,打上SP1 。。

解决方案 »

  1.   

    function PopUpMenu(width){
        this.width=width;
        this.height=0;
        this.items=new Array();
        this.created=false;
        this.border=2;
        this.padding=4;
        this.spSize=2;
        this.spPadding=1;
        this.fgColor="#000000";
        this.bgColor="#c0c0c0";
        this.hiFgColor="#ffffff";
        this.hiBgColor="#000080";
        this.bdHiColor="#e0e0e0";
        this.bdShColor="#000000";
        this.spHiColor="#e0e0e0";
        this.spShColor="#808080";
        this.fontFamily="MS Sans Serif,Arial,Helvetica,sans-serif";
        this.fontStyle="plain";
        this.fontWeight="normal";
        this.fontSize="8pt";
        this.noneImage="../images/transparent.gif";
        this.normImage="../images/menu_norm.gif";
        this.highImage="../images/menu_high.gif";
        this.imageWidth=8;
        this.imageHeight=12;
        this.left=0;
        this.top=0;
        this.right=this.width;
        this.bottom=this.height;
        this.parentMenu=null;
        this.openChild=null;
        this.offsetX=0;
        this.offsetY=0;
        this.isStatic=false;
        this.isOpen=false;
        this.isSubmenu=false;
        this.setSizes=popUpMenuSetSizes;
        this.setColors=popUpMenuSetColors;
        this.setFont=popUpMenuSetFont;
        this.setImages=popUpMenuSetImages;
        this.addItem=popUpMenuAddItem;
        this.addSeparator=popUpMenuAddSeparator;
        this.addSubmenu=popUpMenuAddSubmenu;
        this.copyAttributes=popUpMenuCopyAttributes;
        this.create=popUpMenuCreate;
        this.open=popUpMenuOpen;
        this.close=popUpMenuClose;
        this.setStatic=popUpMenuSetStatic;
        this.moveTo=popUpMenuMoveTo;
        this.moveBy=popUpMenuMoveBy;
        this.getzIndex=popUpMenuGetzIndex;
        this.setzIndex=popUpMenuSetzIndex;
        this.index=popUpMenus.length;popUpMenus[this.index]=this;
    }
      

  2.   

    function popUpMenuSetSizes(border,padding,spSize,spPadding){
        if(!this.created){
            this.border=border;
            this.padding=padding;
            this.spSize=spSize;
            this.spPadding=spPadding;
        }
    }function popUpMenuSetColors(fgColor,bgColor,hiFgColor,hiBgColor,bdHiColor,bdShColor,spHiColor,spShColor){
        if(!this.created){
            this.fgColor=fgColor;
            this.bgColor=bgColor;
            this.hiFgColor=hiFgColor;
            this.hiBgColor=hiBgColor;
            this.bdHiColor=bdHiColor;
            this.bdShColor=bdShColor;
            this.spHiColor=spHiColor;
            this.spShColor=spShColor;
        }
    }function popUpMenuSetFont(family,style,weight,size){
        if(!this.created){
            this.fontFamily=family;
            this.fontStyle=style;
            this.fontWeight=weight;
            this.fontSize=size;
        }
    }function popUpMenuSetImages(none,norm,high,width,height){
        if(!this.created){
            this.noneImage=none;
            this.normImage=norm;
            this.highImage=high;
            this.imageWidth=width;
            this.imageHeight=height;
        }
    }
      

  3.   

    function popUpMenuAddItem(item){
        if(!this.created)
            this.items[this.items.length]=item;
    }function popUpMenuAddSeparator(){
        if(!this.created){
            this.addItem(new PopUpMenuItem("",""));
            this.items[this.items.length-1].isSeparator=true;
        }
    }function popUpMenuAddSubmenu(item,menu){
        if(!this.created&&!menu.isSubmenu){
            item.subMenu=menu;
            this.items[this.items.length]=item;
            menu.parentMenu=this;
            menu.isSubmenu=true;
        }
    }function popUpMenuCopyAttributes(menu){
        if(!this.created&&menu!=null){
            this.border=menu.border;
            this.padding=menu.padding;
            this.spSize=menu.spSize;
            this.spPadding=menu.spPadding;
            this.fgColor=menu.fgColor;
            this.bgColor=menu.bgColor;
            this.hiFgColor=menu.hiFgColor;
            this.hiBgColor=menu.hiBgColor;
            this.bdHiColor=menu.bdHiColor;
            this.bdShColor=menu.bdShColor;
            this.spHiColor=menu.spHiColor;
            this.spShColor=menu.spShColor;
            this.fontFamily=menu.fontFamily;
            this.fontStyle=menu.fontStyle;
            this.fontWeight=menu.fontWeight;
            this.fontSize=menu.fontSize;
            this.noneImage=menu.noneImage;
            this.normImage=menu.normImage;
            this.highImage=menu.highImage;
            this.imageWidth=menu.imageWidth;
            this.imageHeight=menu.imageHeight;
        }
    }
      

  4.   

    <style type='text/css'>
    <!--
    A:link  {text-decoration:none; 
    color:"#ffffff";
    font-family: "MS Sans Serif","Arial","Helvetica","sans-serif";
    font-size: 8pt;
    fontWeight: normal;
            } 
    A:hover {text-decoration:none; 
    color:"#ffffff";
    font-family: "MS Sans Serif","Arial","Helvetica","sans-serif";
    font-size: 8pt;
    fontWeight: normal;
            } 
    A:visited{text-decoration:none; 
    color:"#ffffff";
    font-family: "MS Sans Serif","Arial","Helvetica","sans-serif";
    font-size: 8pt;
    fontWeight: normal;
            } 
    -->
    </style>