Search code examples
jqueryjquery-pluginsjscrollpanejquery-jscrollpane

jscrollpane not visible


I've got a lot of jquery madness going on with my page, and i'm wondering if that's the reason jscrollpane doesn't show.

See http://jasondaydesign.com and click on the sculpture menu item on the left and then on the remaining div on the screen.

Without jscrollpane, the text is scrollable.

However, with jscrollpane enabled, nothing shows.

thoughts?


Solution

  • You could try reinitialising jScrollPane after showing the box which contains it. So change this line:

    $(this).find('.expandable').show('normal')
    

    To:

    $(this).find('.expandable').show(
        'normal',
        function()
        {
            $('.scroll-pane').jScrollPane();
        }
    );
    

    Previous answer

    From a quick look in the network inspector of Firebug it looks like:

    http://jasondaydesign.com/css/jquery.scrollpane.css

    Is currently a 404. That might be causing the problem?