hi there
Has been any updates on how to make the background of the popup transparent?
thanks.
Is this a follow-up on community.progress.com/.../34957.aspx
Is this a follow-up on community.progress.com/.../34957.aspx
Hi Jean, yes it is.
Hi there, has anybody found a way to do this yet?
Hi Meyrick,
Please check the Sample Project I shared with you with a solution. Areas changed:
- Created a CSS file called Transparent
- Created a JavaScript file called Transparent
Code for the CSS:
.ui-dialog-background { opacity: 0.5; display: block !important; -webkit-transition: opacity 0.5s ease-in; } .ui-dialog-background.pop.in { opacity: 1; -webkit-transition: opacity 0.5s ease-in; } .ui-dialog { min-height: 80% !important; background: transparent !important; z-index: 3000; }
Code for the JavaScript:
$('div[data-role="dialog"]').live('pagebeforeshow', function(e, ui) { ui.prevPage.addClass("ui-dialog-background "); }); $('div[data-role="dialog"]').live('pagehide', function(e, ui) { $(".ui-dialog-background ").removeClass("ui-dialog-background "); });
Please let us know if this helped and if you have further questions.
Regards,
Ricardo