title: Bootstrap Modal, iFrame and Smart Wizard form
body: <p>I am trying to launch a smartwizard form from a bootstrap modal via iframe and I am having issues with the first page of the form. The modal opens correctly, but STEP 1 of the form has not been opened.  If you click next STEP 2 appears, and you can go back to STEP 1 again, but why wont it do it on launch?</p>
  
  <p>I am creating a site for work and they are currently using ei7 - so this may be iFrame/Explorer 7 specific.</p>
  
  <p>I created a simple page as a test below.</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
    &lt;head&gt;
      &lt;meta charset="utf-8"&gt;
      &lt;title&gt;Modal Test&lt;/title&gt;
      &lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&gt;
      &lt;meta name="description" content=""&gt;
      &lt;meta name="author" content=""&gt;
  
      &lt;!-- Le styles --&gt;
      &lt;link href="http://getbootstrap.com/2.3.2/assets/css/bootstrap.css" rel="stylesheet"&gt;
      &lt;style&gt;
        body {
          padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
        }
      &lt;/style&gt;
      &lt;link href="http://getbootstrap.com/2.3.2/assets/css/bootstrap-responsive.css" rel="stylesheet"&gt;
  
      &lt;!-- HTML5 shim, for IE6-8 support of HTML5 elements --&gt;
      &lt;!--[if lt IE 9]&gt;
        &lt;script src="http://getbootstrap.com/2.3.2/assets/js/html5shiv.js"&gt;&lt;/script&gt;
      &lt;![endif]--&gt;
  
      &lt;!-- Fav and touch icons --&gt;
      &lt;link rel="apple-touch-icon-precomposed" sizes="144x144" href="http://getbootstrap.com/2.3.2/assets/ico/apple-touch-icon-144-precomposed.png"&gt;
      &lt;link rel="apple-touch-icon-precomposed" sizes="114x114" href="http://getbootstrap.com/2.3.2/assets/ico/apple-touch-icon-114-precomposed.png"&gt;
        &lt;link rel="apple-touch-icon-precomposed" sizes="72x72" href="http://getbootstrap.com/2.3.2/assets/ico/apple-touch-icon-72-precomposed.png"&gt;
                      &lt;link rel="apple-touch-icon-precomposed" href="http://getbootstrap.com/2.3.2/assets/ico/apple-touch-icon-57-precomposed.png"&gt;
                                     &lt;link rel="shortcut icon" href="http://getbootstrap.com/2.3.2/assets/ico/favicon.png"&gt;
    &lt;/head&gt;
  
    &lt;body&gt;
  
      &lt;div class="navbar navbar-inverse navbar-fixed-top"&gt;
        &lt;div class="navbar-inner"&gt;
          &lt;div class="container"&gt;
            &lt;button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"&gt;
              &lt;span class="icon-bar"&gt;&lt;/span&gt;
              &lt;span class="icon-bar"&gt;&lt;/span&gt;
              &lt;span class="icon-bar"&gt;&lt;/span&gt;
            &lt;/button&gt;
            &lt;a class="brand" href="#"&gt;Testing Modal&lt;/a&gt;
            &lt;div class="nav-collapse collapse"&gt;
  
            &lt;/div&gt;&lt;!--/.nav-collapse --&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
  
      &lt;div class="container"&gt;
  
         &lt;a href="#myModal" role="button" class="btn" data-toggle="modal"&gt;Launch demo modal&lt;/a&gt;&lt;!-- Modal --&gt;
  
        &lt;div id="myModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" style="width:1018px; height:700px; top:50px; margin-left:-40%; "&gt; 
         &lt;div class="modal-header" &gt;   
          &lt;button type="button" class="close" data-dismiss="modal" aria-hidden="true"&gt;&lt;/button&gt;  
          &lt;iframe src="http://techlaboratory.net/techlab/demos/SmartWizard2/index.htm" width="100%" height="100%" frameborder="0" style="top:-20px; left:-16px; width:1020px;  position:relative; margin-top:-40px; margin-bottom:-40px;"&gt;&lt;/iframe&gt;
  
         &lt;/div&gt;  &lt;div class="modal-footer"&gt;  
  
         &lt;button class="btn" data-dismiss="modal" aria-hidden="true"&gt;Close&lt;/button&gt;    &lt;/div&gt;&lt;/div&gt;
  
  
      &lt;script&gt;
  
      &lt;/script&gt;
  
  
  
      &lt;/div&gt; &lt;!-- /container --&gt;
  
      &lt;!-- Le javascript
      ================================================== --&gt;
      &lt;!-- Placed at the end of the document so the pages load faster --&gt;
      &lt;script src="http://getbootstrap.com/2.3.2/assets/js/jquery.js"&gt;&lt;/script&gt;
      &lt;script src="http://getbootstrap.com/2.3.2/assets/js/bootstrap-transition.js"&gt;&lt;/script&gt;
      &lt;script src="http://getbootstrap.com/2.3.2/assets/js/bootstrap-alert.js"&gt;&lt;/script&gt;
      &lt;script src="http://getbootstrap.com/2.3.2/assets/js/bootstrap-modal.js"&gt;&lt;/script&gt;
      &lt;script src="http://getbootstrap.com/2.3.2/assets/js/bootstrap-dropdown.js"&gt;&lt;/script&gt;
      &lt;script src="http://getbootstrap.com/2.3.2/assets/js/bootstrap-scrollspy.js"&gt;&lt;/script&gt;
      &lt;script src="http://getbootstrap.com/2.3.2/assets/js/bootstrap-tab.js"&gt;&lt;/script&gt;
      &lt;script src="http://getbootstrap.com/2.3.2/assets/js/bootstrap-tooltip.js"&gt;&lt;/script&gt;
      &lt;script src="http://getbootstrap.com/2.3.2/assets/js/bootstrap-popover.js"&gt;&lt;/script&gt;
      &lt;script src="http://getbootstrap.com/2.3.2/assets/js/bootstrap-button.js"&gt;&lt;/script&gt;
      &lt;script src="http://getbootstrap.com/2.3.2/assets/js/bootstrap-collapse.js"&gt;&lt;/script&gt;
      &lt;script src="http://getbootstrap.com/2.3.2/assets/js/bootstrap-carousel.js"&gt;&lt;/script&gt;
      &lt;script src="http://getbootstrap.com/2.3.2/assets/js/bootstrap-typeahead.js"&gt;&lt;/script&gt;
  
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>