简体   繁体   English

Yui z-index 在 IE 中不起作用

[英]Yui z-index does not work in IE

When I have open the popup in the homepage button should ovelap on the popup, these functionality has been working in FF, but in this given functionality does not working in IE, so how to run this one, any one help me.当我在主页中打开弹出窗口时,按钮应该重叠在弹出窗口上,这些功能一直在 FF 中工作,但是在这个给定的功能中,在 IE 中不起作用,所以如何运行这个,任何人帮助我。

function launchDisclaimerPopup()
{
      YAHOO.util.Dom.get("view").style.display="block";
      if(!YAHOO.fdds.disclaimerDialog.userDialog){
      YAHOO.fdds.disclaimerDialog.userDialog = new YAHOO.widget.Dialog("view",
      {
            width: "800px",
            height:"434px",
            fixedcenter:false,          
            position:'relative',
            zindex: 1012,
            context:"tl",
            visible: true,
            constraintoviewport:false,
            iframe:true
      });
}

I believe it should be z-index , not zindex .我相信它应该是z-index ,而不是zindex

function launchDisclaimerPopup()
{
      YAHOO.util.Dom.get("view").style.display="block";
      if(!YAHOO.fdds.disclaimerDialog.userDialog){
      YAHOO.fdds.disclaimerDialog.userDialog = new YAHOO.widget.Dialog("view",
      {
            width: "800px",
            height:"434px",
            fixedcenter:false,          
            position:'relative',
            z-index: 1012,
            context:"tl",
            visible: true,
            constraintoviewport:false,
            iframe:true
      });
}

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM