pcgameslab Posted July 30, 2014 Share Posted July 30, 2014 On my blog there is a carousel slider like below image:- It was not working so I tried to use the console feature of chrome and a caught a problem,it was in this following form:- <script> (function($) { $(document).ready(function(){ $("#carousel .content").jCarouselLite({ Uncaught typerror: Undefined is not a function auto:0, scroll: 1, speed: 400, visible: 5, start: 0, circular: false, btnPrev: "#previous_button", btnNext: "#next_button" }); })})(jQuery) </script> It's id is " technopcarea.blogspot.com/:1018" Now what should I do,I rechecked the script,its correct. Link to comment Share on other sites More sharing options...
justsomeguy Posted July 30, 2014 Share Posted July 30, 2014 It's probably referring to jCarouselLite, which would indicate that it hasn't been defined when you're trying to use it. Link to comment Share on other sites More sharing options...
thescientist Posted July 30, 2014 Share Posted July 30, 2014 I also see two includes for jQuery. You should only be using one. latest.min.js (which is a bad idea to use in production) 1.8 I don't see any include for jCarouselLite though. Link to comment Share on other sites More sharing options...
pcgameslab Posted July 31, 2014 Author Share Posted July 31, 2014 I kept the 1.8 script of jquery and removed the other,but still no change Link to comment Share on other sites More sharing options...
thescientist Posted July 31, 2014 Share Posted July 31, 2014 that's not all we've been telling you to do. please read our comments I don't see any include for jCarouselLite though. It's probably referring to jCarouselLite, which would indicate that it hasn't been defined when you're trying to use it. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now