Note that there are some explanatory texts on larger screens.

plurals
  1. POUncaught TypeError: Object #<Object> has no method 'movingBoxes'
    text
    copied!<p>Im trying to use the movingBoxes plugin with my asp.net mvc site and it is not working (obviously). I have the movingboxes.js imported in my head tag in the site.master like so</p> <pre><code> &lt;script src="&lt;%: Url.Content("~/Scripts/jquery.movingboxes.js")%&gt;" type="text/javascript"&gt;&lt;/script&gt; </code></pre> <p>and the browser successfully gets this script. Now i have a regular view that inherits from the site.master that has this little bit of jquery in it that calls the movingBoxes plugin</p> <pre><code>&lt;script type="text/javascript"&gt; $(document).ready(function () { $($('#slider-one')); $('#slider-one').movingBoxes({ startPanel: 1, panelWidth: .5, fixedHeight: false }); $('#slider-two').movingBoxes({ startPanel: 1, panelWidth: .5, fixedHeight: false }); }); &lt;/script&gt; </code></pre> <p>When i view the page. Every thing works fine (including other jquery stuff) except for this plugin and i get this error</p> <p><img src="https://i.stack.imgur.com/AJwvv.png" alt="enter image description here"></p> <p>And here is the description of the error <img src="https://i.stack.imgur.com/GTRX6.png" alt="enter image description here"></p> <p>Any help would be appreciated</p> <p><strong>EDIT</strong></p> <p>So apparently I had this: </p> <pre><code> &lt;script type="text/javascript" src="../../Scripts/jquery-1.4.1.js" /&gt; &lt;script src="&lt;%: Url.Content("~/Scripts/jquery.movingboxes.js")%&gt;" type="text/javascript"&gt;&lt;/script&gt; </code></pre> <p>And it works now by changing it to this: </p> <pre><code> &lt;script type="text/javascript" src="../../Scripts/jquery-1.4.1.js"&gt;&lt;/script&gt; &lt;script src="&lt;%: Url.Content("~/Scripts/jquery.movingboxes.js")%&gt;" type="text/javascript"&gt;&lt;/script&gt; </code></pre>
 

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