开发者

jscrollpane not visible

开发者 https://www.devze.com 2023-02-04 04:01 出处:网络
I\'ve got a lot of jquery madness go开发者_Go百科ing on with my page, and i\'m wondering if that\'s the reason jscrollpane doesn\'t show.

I've got a lot of jquery madness go开发者_Go百科ing 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?


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?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号