mhmda Posted April 23, 2014 Posted April 23, 2014 Hi, If you want UniHTMLFrame transparent then put this code in clientevents->extjevents->added function added(sender, container, pos, eOpts) { var html=sender.id; html=html+'-body'; Ext.Function.defer(function(){ document.getElementById(html).setAttribute('style', 'background-color:transparent !important'); }, 100, this, []); } Have fun :- ) 1 Quote
delagoutte Posted March 1, 2016 Posted March 1, 2016 If i use this code i have the scrollbar hidden for the unihtmlframe Is there an other solution ? Quote
mhmda Posted March 2, 2016 Author Posted March 2, 2016 ClientEvents: 1. function added(sender, container, pos, eOpts) { sender.addBodyCls('trans_panel'); } 2. OR - UniEvents->beforeinit: config.BodyCls='trans_panel'; ServerModule->CustomCSS: .trans_panel { background-color:transparent !important; } Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.