Note that there are some explanatory texts on larger screens.

plurals
  1. POUncaught TypeError: Object #<HTMLDocument> has no method 'ready'
    primarykey
    data
    text
    <p>I have been trying to figure out why I am getting this problem and cannot figure it out. I am guessing it has to do with the libraries added but I am a newby and have spent like 2 days trying different things. The problem here is for the function calling the fancybox, but it happens whenever I call the document.ready. </p> <p>Here is the code:</p> <pre><code>&lt;head&gt; &lt;script type="text/javascript" src="public/scripts/jquery.min.js"&gt;&lt;/script&gt; &lt;!-- 1.7.2 --&gt; &lt;script src="public/scripts/applicat.js" type="text/javascript"&gt;&lt;/script&gt; &lt;!--Add link fancybox--&gt; &lt;script type="text/javascript" src="public/fancybox/jquery.fancybox-1.3.4.pack.js"&gt;&lt;/script&gt; &lt;link rel="stylesheet" href="public/fancybox/jquery.fancybox-1.3.4.css" type="text/css" media="screen" /&gt; &lt;script type="text/javascript"&gt; $(document).ready(function() { $("#add-iframe").fancybox({ 'hideOnContentClick': true }); }); &lt;/script&gt;&lt;/head&gt; &lt;section id="top-comments" style="margin-top: 10px"&gt; &lt;div class="left-side"&gt; &lt;p class="top-comment-title"&gt;Michigan&lt;/p&gt; &lt;div class="top-comment-wrapper"&gt; &lt;div class="top-comment-header"&gt; &lt;span class="user-name"&gt;Andrew P.&lt;/span&gt; &lt;div class="fix"&gt;&lt;/div&gt; &lt;/div&gt; &lt;p class="top-comment-content"&gt;Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="right-side"&gt; &lt;p class="top-comment-title"&gt;Notre Dame&lt;/p&gt; &lt;div class="top-comment-wrapper"&gt; &lt;div class="top-comment-header dispute-comment"&gt; &lt;span class="user-name"&gt;Jenny S.&lt;/span&gt; &lt;div class="fix"&gt;&lt;/div&gt; &lt;/div&gt; &lt;p class="top-comment-content"&gt;Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="fix"&gt;&lt;/div&gt; &lt;/section&gt; &lt;!-- Articles --&gt; &lt;section id="top-resources" style="display:none; margin-top:10px"&gt; &lt;a id="add-iframe" href="add-link.html" class="top-add-link"&gt;Add Link&lt;/a&gt; &lt;div class="left-side"&gt; &lt;p class="top-comment-title"&gt;Michigan&lt;/p&gt; &lt;/div&gt; &lt;div class="right-side"&gt; &lt;p class="top-comment-title"&gt;Notre Dame&lt;/p&gt; &lt;/div&gt; &lt;div class="fix"&gt;&lt;/div&gt; &lt;/section&gt; &lt;/div&gt; &lt;script type="text/javascript" charset="utf-8"&gt; jQuery().ready(function() { jQuery("#discussion-sections &gt; nav ul").tabs("#discussion-sections &gt; section"); }); &lt;/script&gt; </code></pre> <p>Thanks for your help! Luis</p>
    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