mhmda Posted April 23, 2014 Share 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 Link to comment Share on other sites More sharing options...
stone feng Posted April 25, 2014 Share Posted April 25, 2014 good! Quote Link to comment Share on other sites More sharing options...
delagoutte Posted March 1, 2016 Share Posted March 1, 2016 If i use this code i have the scrollbar hidden for the unihtmlframe Is there an other solution ? Quote Link to comment Share on other sites More sharing options...
mhmda Posted March 2, 2016 Author Share 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 Link to comment Share on other sites More sharing options...
delagoutte Posted March 2, 2016 Share Posted March 2, 2016 wonderful. Thanks Quote Link to comment Share on other sites More sharing options...
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.