resizing iframes for mobile

Moderator: frogmaker

Awatar użytkownika
jurek
Administrator
Administrator
Posty: 104
Rejestracja: 17 maja 2009, 15:48
Lokalizacja: Piast

resizing iframes for mobile

Post autor: jurek »

I figured it out! As long as the page that contains the iframe has:

<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=0">

the iframe will be automatically resized when required.

Well, at least that was what worked for me in this case.
ODPOWIEDZ