Page 1 of 2

Make the body of a popup transparent.

Posted: Tue Nov 26, 2013 7:02 pm
by Garrett

I would like to make the body of a popup transparent. I already implemented this http://javascriptbites.com/post/2013/07/01/jQuery-mobile-Transparent-dialogs which allows me to see the page behind the popup, but the body of the popup is still filled with the inherited swatch.

My end goal is to have a popup that has some semi-transparent overlay PNG images that point at and describe the components underneath in the page.

Here is something similar to what I want to do...
Image


Make the body of a popup transparent.

Posted: Tue Nov 26, 2013 8:08 pm
by Maryna Brodina

Hello! Please take a look here https://getsatisfaction.com/apperyio/...


Make the body of a popup transparent.

Posted: Tue Nov 26, 2013 8:40 pm
by Garrett

That effectively does the same thing as the link I provided. On the popup, I want the mobilecontainer to be transparent.

If I change the below line...
code.ui-dialog-background.pop.in {
opacity: 1;
-webkit-transition: opacity 0.5s ease-in;
}/code

to...
code.ui-dialog-background.pop.in {
opacity: .5;
-webkit-transition: opacity 0.5s ease-in;
}/code

it makes the whole popup partially transparent. It also applies to all popups. I just want this to apply to one popup.


Make the body of a popup transparent.

Posted: Tue Nov 26, 2013 9:15 pm
by Maryna Brodina

1) "I just want this to apply to one popup" - add class for popup and, change CSS selector
2) try to set background: transparent; for popup content.


Make the body of a popup transparent.

Posted: Wed Nov 27, 2013 5:21 pm
by Garrett

That didn't work.


Make the body of a popup transparent.

Posted: Wed Nov 27, 2013 7:51 pm
by Maryna Brodina

Hello! Please post your public app link.


Make the body of a popup transparent.

Posted: Wed Nov 27, 2013 11:55 pm
by Garrett

It is not public yet and I don't wan't to give access to the public. Can I just share it with you?


Make the body of a popup transparent.

Posted: Wed Nov 27, 2013 11:58 pm
by Illya Stepanov

Hi Garrett, sure. Share it with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a.


Make the body of a popup transparent.

Posted: Thu Nov 28, 2013 12:04 am
by Garrett

I just shared it


Make the body of a popup transparent.

Posted: Thu Nov 28, 2013 1:07 am
by Illya Stepanov

Thanks, we'll check.