jquery code to check page height not seem working correctly

I have a lil piece of jqery code here:hasVBar=””;hasHBar=””;$(document).ready(function() // Check if body height is higher than window height if ($(document).height() > $(window).height())...

How do I make custom scrollbars with jScrollPane to be alway

I have scrollbars using the jScrollPane plug-in for jQuery.The scrollbar works, all content is with AJAX, so for every ‘page’ load, I add the re-initialization of the scrollbars. But when...