Active
Project:
JavaScript Libraries Manager
Version:
7.x-1.0-rc5
Component:
Miscellaneous
Priority:
Major
Category:
Support request
Assigned:
Reporter:
Created:
13 Feb 2012 at 17:55 UTC
Updated:
23 Feb 2012 at 00:15 UTC
Hello
I've successfully installed the module and followed the instructions to create the Simple jQuery UI Tabs example in the read me doc but, I'm having trouble using getting my custom horizontal scrollbar to work.
I have 6 libraries two are JQuery libraries hosted by google and the other four are js files. When I inspect the code through the firebug console, I get this error
GET http://localhost:8888/guarini/sites/all/modules/jquery_update/replace/jq...
404 Not Found
29ms
What is v=1.5.2 ?
The 2 line below doesn't appear in the head tag when I inspect the code
I get
instead. I don't know what this means and how I can solve the problem to get my scroll bar working. This is the function that gets to the scroll bar working before bringing it into drupal window.onload() ( $("#mcs5_container").mCustomScrollbar("horizontal",500,"easeOutCirc",1,"fixed","yes","yes",20); ); and then I tried it like this $(document).ready(function() { // put all your jQuery goodness in here. ("#mcs5_container").mCustomScrollbar("horizontal",500,"easeOutCirc",1,"fixed","yes","yes",20); }); Still didn't work. The error in the console is $ is not a function. I'm not experienced enough to know what is wrong with the syntax. I'm really struggling on this one and would really like some help.
Comments
Comment #1
oneEcho commentedThe function that activates the scroll bar is this
$(document).ready(function() {
// put all your jQuery goodness in here.
("#mcs5_container").mCustomScrollbar("horizontal",500,"easeOutCirc",1,"fixed","yes","yes",20);
});
The error in the console is $ is not a function. I'm not experienced enough to know what is wrong with the syntax. I'm really struggling on this one and would really like some help.
Comment #1.0
oneEcho commentedI added an additional question to know what this is: v=1.5.2
Comment #1.1
oneEcho commentedAdded the function that gets to the scroll bar working before bringing it into drupal.