Note that there are some explanatory texts on larger screens.

plurals
  1. POWhy does modal content not hide when modal is not shown?
    primarykey
    data
    text
    <p>I am using Zurb's <a href="http://zurb.com/playground/reveal-modal-plugin" rel="nofollow">jQuery Reveal Modal</a> plugin to create a pop-up box with a Vimeo video. However, the last video displays over the content as soon as the page loads and doesn't disappear, and the other videos do not disappear after hitting the close button on their respective modal window. The box and the other content within it will disappear, but the iframe for the video does not. </p> <p>Here is the markup for the trigger and modal box:</p> <pre><code>&lt;div class="videoEntry"&gt; &lt;h3&gt;Community Involvement&lt;/h3&gt; &lt;a href="#" data-reveal-id="modal4"&gt;&lt;img class="videoThumb" src="images/community-video_thumb.jpg" /&gt;&lt;/a&gt; &lt;p&gt;Corvalent Corporation CEO Ed Trevis talks about Chirofit's Corporate Wellness programs and Dr. Mo's involvement in the Cedar Park and Austin communities.&lt;/p&gt; &lt;div id="modal4" class="reveal-modal"&gt; &lt;h1&gt;Modal Title&lt;/h1&gt; &lt;iframe src="//player.vimeo.com/video/74992379" width="500" height="281" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen&gt;&lt;/iframe&gt; &lt;p&gt;&lt;a href="http://vimeo.com/74992379"&gt;Chirofit and Community&lt;/a&gt; from &lt;a href="http://vimeo.com/user20693845"&gt;Chirofit&lt;/a&gt; on &lt;a href="https://vimeo.com"&gt;Vimeo&lt;/a&gt;.&lt;/p&gt; &lt;a class="close-reveal-modal"&gt;&amp;#215;&lt;/a&gt; &lt;/div&gt; &lt;/div&gt; </code></pre> <p>The CSS and JS files have not been changed at all, and are included as they come. The reveal.css file is in the header and the jquery.reveal.js file is in the footer just below the call to the most recent version of jquery hosted on Google's CDN.</p> <p>I'm at a loss about what could be causing this. I'm doing this for a friend and I'm starting to wonder whether his table-based site might be the problem. It often causes unexpected behavior. Any input with this would be tremendously appreciated.</p> <p>The site can be viewed <a href="http://staging.chirofitwellnesscenter.com/videos.html" rel="nofollow">here</a>, in case that helps.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload