Note that there are some explanatory texts on larger screens.

plurals
  1. POTwitter Bootstrap: Nested modal popup doesn't fade
    primarykey
    data
    text
    <p>I have the following markup using a twitter bootstrap modal plugin nested within a .tabbable div:</p> <pre><code> &lt;div class="tabbable"&gt; &lt;ul class="nav nav-tabs"&gt; &lt;li class="active"&gt;&lt;a href="#tabPeople" data-toggle="tab"&gt;People&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#tabRoles" data-toggle="tab"&gt;Roles&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;div class="tab-content"&gt; &lt;div class="tab-pane active" id="tabPeople"&gt; &lt;a data-toggle="modal" href="#modalEditPerson1"&gt;Name&lt;/a&gt; &lt;div class="modal hide fade in" id="modalEditPerson1"&gt; &lt;div class="modal-header"&gt; &lt;button class="close" data-dismiss="modal"&gt; ×&lt;/button&gt; &lt;h3&gt; Name&lt;/h3&gt; &lt;/div&gt; &lt;div class="modal-body"&gt; &lt;p&gt; One fine body…&lt;/p&gt; &lt;/div&gt; &lt;div class="modal-footer"&gt; &lt;a href="#" class="btn" data-dismiss="modal"&gt;Close&lt;/a&gt; &lt;a href="#" class="btn btn-primary"&gt; Save changes&lt;/a&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="tab-pane" id="tabRoles"&gt; &lt;p&gt; Role stuff here.&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; </code></pre> <p>This brings up a modal, but doesn't fade it as in the demo on this page: <a href="http://twitter.github.com/bootstrap/javascript.html#modals" rel="nofollow">http://twitter.github.com/bootstrap/javascript.html#modals</a></p> <p>It works fine when it is not nested inside the .tabbable element</p> <p>Header contains this:</p> <pre><code>&lt;script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"&gt;&lt;/script&gt; &lt;script src="styles/bootstrap/js/bootstrap.min.js" type="text/javascript"&gt;&lt;/script&gt; &lt;link href="styles/styles.css" rel="stylesheet" type="text/css" /&gt; &lt;link href="/styles/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" /&gt; </code></pre>
    singulars
    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.
 

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