6
我想讓iFrame出現在全屏幕上,用JavaScript點擊按鈕。如何使iFrame在點擊按鈕上全屏顯示?
<iframe id="iframe_view" class="embed-responsive-item container well well-small span6" style="height: 720px; width: 1280px; background-color: #2e2e2e;" src="https://www.google.com/" frameborder="0" scrolling="no" allowfullscreen>
感謝您的例子和答案。這很有幫助! – ssk
@ssk我很高興我的幫助! –