0

コンテナーのサイズを変更して、その高さから水平スクロールバーの高さを引いた値よりも小さくなるまで、垂直スクロールバーが表示されない理由がわかりません....

私は何を間違っていますか、それともバグですか?

ありがとう

垂直スクロールバーが表示されることを期待しています。

縦スクロールが導入されました....!!

このコードで:

<script>

        $(document).ready(function () {

            var settings = {
                showArrows: false
            };

            $('.myContainer').jScrollPane(settings);

            var api = $('.myContainer').data('jsp');

            var throttleTimeout;
            $(window).bind(
                'resize',
                function () {
                    if ($.browser.msie) {
                        // IE fires multiple resize events while you are dragging the browser window which
                        // causes it to crash if you try to update the scrollpane on every one. So we need
                        // to throttle it to fire a maximum of once every 50 milliseconds...
                        if (!throttleTimeout) {
                            throttleTimeout = setTimeout(
                                function () {
                                    api.reinitialise();
                                    throttleTimeout = null;
                                },
                                50
                            );
                        }
                    } else {
                        api.reinitialise();
                    }
                }
            );

        });

    </script>
4

0 に答える 0