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

oneEcho’s picture

Title: Custom javascript library is not working » Custom javascript/JQuery library is not working

The 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.

oneEcho’s picture

Issue summary: View changes

I added an additional question to know what this is: v=1.5.2

oneEcho’s picture

Issue summary: View changes

Added the function that gets to the scroll bar working before bringing it into drupal.