/ / iFrame erscheint im Vollbildmodus in Phonegap. Ich will es nur die Höhe seines div - javascript, html, css, css3, cordova

iFrame erscheint im Vollbildmodus in Phonegap. Ich will es nur die Höhe seines div - javascript, html, css, css3, cordova

iFrame erscheint im Vollbildmodus auf meinem Android-Handy.

<div>
<iframe src="iframe.html" id="iframesha" seamless></iframe>
</div>

Kann mir jemand sagen, wie ich es beheben kann? Ich habe ein div über diesem iFrame und es übernimmt div!

Antworten:

0 für die Antwort № 1

Iframe muss Attribute für Breite und Höhe haben. Siehe Beispiel unten:

und verlinken http://www.w3schools.com/TAGS/att_iframe_width.asp

hoffe das hilft