title: Magnific Popup Jquery: Ajax Popup is not working
body: <p>I am trying to show a web page content in popup window using <a href="http://dimsemenov.com/plugins/magnific-popup/" rel="nofollow">Magnific Popup jquery</a></p>
  
  <p>I am using <code>ajax</code> type to show content.</p>
  
  <p>I tried the below code.</p>
  
  <p><strong>HTML:</strong></p>
  
  <pre><code>&lt;a class="ajax" href="http://www.google.com"&gt;
          Text
  &lt;/a&gt;
  </code></pre>
  
  <p><strong>JQuery:</strong></p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
          $(document).ready(function() {
              $('.ajax').magnificPopup({
                  delegate: 'a',
                  type: 'ajax',
                  alignTop: true,
                  overflowY: 'scroll' // as we know that popup content is tall we set scroll overflow by default to avoid jump
              }
          }
  
      });
          });
  &lt;/script&gt;
  </code></pre>
  
  <p>Please check the <a href="http://jsfiddle.net/0d5qp2vk/" rel="nofollow">JSFIDDLE</a></p>
  
  <p>In terms of Jquery I am a novice. What I did wrong here?</p>