Jump to content

How can I change the background color of unitreemenu to transparent


风吹小机机

Recommended Posts

Thank you very much for your answer

My problem has been solved,

The solution is to share with you:

UniSession.AddJS(' if(!!Ext.get("' + MenuTree.JSId + '").el.dom.children[0].id){'
                  +'      var kid = Ext.get("' + MenuTree.JSId + '").el.dom.children[0].id;'
                  +'      Ext.get(kid).setStyle({"background-color":"rgba(200,0,0,1)"});'
                  +' }');

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...