title: using simplemodal, show loading spinner while content inside iframe loads
body: <p>Good morning!</p>
  
  <p>I am using the great <a href="http://www.ericmmartin.com/projects/simplemodal/" rel="noreferrer">SimpleModal</a> plugin for jQuery from Eric Martin.  Currently, I am loading a modal using an iframe to load my requested pages which works as expected.  What I would like to implement is a Loading... spinner which displays while the content is loading.</p>
  
  <p>I am loading my modal as follows:</p>
  
  <pre><code>jQuery(function ($) {
      // Load dialog on click
      $('.basic').click(function (e) {
          var src = "http://localhost" + $(this).attr("href");
          $.modal('&lt;iframe id="details" class="so" src="' + src + '" height="500"     width="500" style="border:0"&gt;', {
              closeHTML: "&lt;a title='Close' class='modalCloseImg simplemodal-close'&gt;&lt;/a&gt;",
              containerId: "simplemodal-container",
              overlayId: "simplemodal-overlay",
              overlayClose: true
          });
  
          return false;
      });
  });
  </code></pre>
  
  <p>I have a background image set for my modal-container, which displays right away.  I would definitely prefer to show a loading spinner here as well.</p>