Hey guys, I decided to pop in and check on this plugin and noticed this thread. I will try to figure out some email notification or something. I have decided that once I hit 1000 downloads I will revise the code. Right now I am fairly busy with work.
Glad you got things figured out.
Keep thinking of features you would like and I will evaluate them soon enough.
Thanks for all the support, glad you like the plugin
so after reading through, one of the ideas should be a clever way to handle incremental classes.
Would that make the scroll bar effect several post a page like i have on my site now http://chrisfawkes.net/blog/the-blog/
The other thing i would suggest is put a price on the plugin. It is great.
The one thing i would love is the ability to effect the scroll bar for the actual browser too, that would be cool.
Thanks a ton cornfeed.
Hello there,
I’ve been trying to use the WP jScrollPane for my site and i’m not getting any results.
It’s strange because everything seems to be in place for it to work, but it’s not!
I’ve set the identifier up and checked that the “wp-jscrollpane/js/wpjsp.js” file is registering my options from the plugin admin section, but still nothing…
Can anybody help me out??? i would greatly appreciate it π
the page i’m working on is here – http://nouvellelondon.com/londonvc/blog/
Thanks in advance!
@sweetandsound
I looked at your site. Something is not loading jquery properly. WordPress uses an internal function to add scripts and manage their dependencies, if you have another plugin that doesn’t obey that function and just includes jquery with a link tag, then nothing loads properly. You can see this using Firebug’s script error handler.
I would start by disabling other plugins until it works. Then when you figure out which one is causing the error, run through the code and see if you can fix it.
It looks like you have a plugin that is drawing in jquery.tools.min.js I would look at that plugin first…..
@fawkesblog2
Nice use of jScrollPane, I like your site.
@larssonk22
Thanks for helping people out!!
Thanks for your help cornfeed.
I’ve had a look on the script error handler and the only error I’m receiving is for the scrollpane plugin which is strange:
var $j = jQuery.noConflict();$j(function(){jQuery(document).ready(function($){$(‘#right-main’).jScrollPane({showArrows: true,horizontalGutter: 14,verticalGutter: 14,});});});
Am I missing something? I think there are some other plugins that are hard-coded in to the theme but I’m unsure how to get to them as I’m quite new to jquery.
Any help would be greatly appreciated!
@sweetandsound
To boil it down further, you are getting the error because the webpage loads jquery.jscrollpane.js way before it loads jquery.js so the browser has no clue how to handle jscrollpane. They have to be loaded in the proper order.
To make matters worse, you site is loading two copies of jquery!!
your site loads jquery.min.js for whatever ajax thing you are using (its a very old copy of jquery btw)
Then it loads the wordpress shipped jquery.
Looks like the AJAX is the culprit, as it is not using a php request to pull the file, rather a static address, so it is probably hard coded.
@sweeandsound
I have to head to work. Load your webpage and then go through the source code (browser’s “view source”). See what is loading in what order.
This is how jquery *should* be called:
http://codex.ww.wp.xz.cn/Function_Reference/wp_enqueue_script
Thank you so much for your help!
I had a look around and found all the jquery files in the footer!
There you go, thanks again!
Did that get it working sweetandsound?
I just upgraded tot he latest version of wordpress and again the scroll bars for my comments on my blog were only effected on the first post. The other four post defaulted to the browser generated scroll bars.
Just for others who may experience this.
The code change i suggested above no longer worked so i went into the wp-jscrollpane/js/wpjsp.js in the plugin editor and i changed the following code from
var $j = jQuery.noConflict();$j(function(){jQuery(document).ready(function($){$(‘#blog_comm,).jScrollPane({showArrows: true,verticalGutter: 16,verticalArrowPositions: ‘split’,horizontalArrowPositions: ‘split’,});});});
to
var $j = jQuery.noConflict();$j(function(){jQuery(document).ready(function($){$(‘#blog_comm,#blog_comm’).jScrollPane({showArrows: true,verticalGutter: 16,verticalArrowPositions: ‘split’,horizontalArrowPositions: ‘split’,});});});
note where i added the extra ,#blog_comm which is a comma followed by the identifier again. This allows the scrollpane scroll bars to appear on the extra four post on the page.
Hope that may prove useful to others using the plugin for comments on their front page.
http://chrisfawkes.net/blog/the-blog/
@fawkesblog2 Thanks for getting to the bottom of that. I will take a look at your site and see if I can make it work in the code…