ThemeShaper Forums » Thematic

[closed]

jscrollpane and thematic

(5 posts)
  • Started 12 years ago by helgatheviking
  • Latest reply from helgatheviking
  • This topic is resolved
  1. has anybody successfully integrated jscrollpane jquery scrollbars ( http://jscrollpane.kelvinluck.com/ ) into thematic?

    as far as i can tell from the instructions you must:
    enqueue all styles and scripts.. done
    set the css of the element you want to scroll w/ a height and overflow:auto.... done
    initialize the scroller in the header.. done

    therefore, i think i am doing everything right... and in Firebug you can see in the markup that some of the plugin effects are happening.... but there is no freaking scrollbar!

    http://www.kathyisawesome.com/about-dr-naz/

    Posted 12 years ago #
  2. did you fix it? I got scrollbars on this.

    Posted 12 years ago #
  3. you got the jquery scrollbars or the default windows scroll? it degrades back to the windows scroll if the jscrollpane doesn't work... or if js is disabled.

    Posted 12 years ago #
  4. you got the jquery scrollbars or the default windows scroll? it degrades back to the windows scroll if the jscrollpane doesn't work... or if js is disabled.

    Posted 12 years ago #
  5. got it!

    apparently i cannot use the (document).ready method that i normally use.

    jQuery(document).ready(function($) {
                 $('#content').jScrollPane();    
    
            });

    instead you must use the following w/ this plugin:

    jQuery(function() {
            jQuery('#content').jScrollPane({showArrows: true});
    });

    thanks @benfrain for the help!

    Posted 12 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.