2013-10-11 112 views
0

我在我的項目中的多個地方使用YUI popus。對於我已經給出了一個身體背景顏色#通用CSS的CSS。但在一個彈出式窗口中,我不想要這個彈出式背景。我怎樣才能從JavaScript中刪除這個。YUI Popup背景

notifier : new function(){ 
var n = new YAHOO.widget.Panel("indicator", { 
        width:"200px", 
     x:450, 
     y:70, 
     fixedCenter:true, 
     close:false, 
     draggable:false, 
     zindex:4, 
     modal:true, 
     visible:false 
    }); 

    n.setBody("<img src='"+imagePath+"/loadingBig.gif'/>"+customerMsg.loading+"..."); 

    n.render(document.body); 

} 

我想更改此彈出窗口的正文背景。

回答

0

對於單個特定實例的變化,你應該能夠添加類似這樣一些CSS:

#container .yui3-widget-bd {background-color: red;}