framework7

Open full view…

Popup question

idealists
Sun, 25 May 2014 14:33:26 GMT

How to change the behaviour of a specific popup (so not all), so it becomes a popdown?

Vladimir Kharlampidi
Sun, 25 May 2014 20:53:47 GMT

Just add additional class to this popup and such styles in CSS: --- .mypopup { -webkit-transform: translate3d(0,-100%,0); transform: translate3d(0,-100%,0); }

idealists
Mon, 26 May 2014 03:12:32 GMT

Thanks, but when I add that css, the popup doesn't appear. If I then remove this css in firebug the popup appears.

Vladimir Kharlampidi
Mon, 26 May 2014 08:35:14 GMT

Ok, then try to add one more css rule: --- .mypopup.modal-in { -webkit-transform: translate3d(0,0%,0); transform: translate3d(0,0%,0); }