shiva
shiva

Reputation: 1

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.

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
      });
}

Upvotes: 0

Views: 403

Answers (2)

Anish
Anish

Reputation: 2917

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
      });
}

Upvotes: 0

jrn.ak
jrn.ak

Reputation: 36619

I believe it should be z-index, not zindex.

Upvotes: 2

Related Questions