Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I want to use a jQuery plugin (jQuery Tools - Scrollable) to display a carousel.
When I do this outside Umbraco, there is no problem. When I do this inside the Standard Website MVC template for Umbraco 4.11 there is an error.
Code:
<script type="text/javascript" src="http://cdn.jquerytools.org/1.2.7/full/jquery.tools.min.js"></script> <script type="text/javascript"> $(document).ready(function () { $("div#slideshow").scrollable({ circular: true, mousewheel: true }).autoscroll({ autoplay: true }); }); </script>
Only when I use this in my Umbraco theme, the following error displays, the file with jQuery and jQuery Tools IS accessible. Why is the plugin not added to $.fn ?
Error:
Uncaught TypeError: Object #<Object> has no method 'scrollable'
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
jQuery plugin won't run
I want to use a jQuery plugin (jQuery Tools - Scrollable) to display a carousel.
When I do this outside Umbraco, there is no problem. When I do this inside the Standard Website MVC template for Umbraco 4.11 there is an error.
Code:
Only when I use this in my Umbraco theme, the following error displays, the file with jQuery and jQuery Tools IS accessible. Why is the plugin not added to $.fn ?
Error:
Uncaught TypeError: Object #<Object> has no method 'scrollable'
is working on a reply...