問題タブ [zurb-reveal]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
javascript - Modal content changes and does not re-center modal
I have created the following plunkr to demonstrate my current issue. (I know the iframe content doesn't load but that is not the problem.) I am dynamically setting the iframe source in the javascript after the button is clicked, I want to show a loading indicator before the iframe content loads but when the iframe is done, the modal shoots off the bottome of the page instead of re-centering.
I have tried $('#exampleModal1').Foundation() but was told that was Foundation 5, the reflow tag is now gone as well.
I have tried Foundation.reInit($('#exampleModal1')) it does nothing AND the close button and esc/click out to close the modal do not work.
youtube-api - Foundation 6 Reveal モーダルを使用して YouTube 動画を自動再生する
私は検索して検索しましたが、この種のことに関する非常に古い投稿しか見つけることができません. 私がやろうとしているのは、自動再生する YouTube ビデオを開く複数の Foundation 6 Reveal モーダルを作成し、モーダルが閉じられたときにビデオ/オーディオを停止することです。
これが基本的なセットアップです。どんな助けでも素晴らしいでしょう!!