JQuery UI Tabs Causing Screen to “Jump”

后端 未结 17 1796
生来不讨喜
生来不讨喜 2020-11-30 22:22

I\'m using the latest version of the jQuery UI tabs. I have tabs positioned toward the bottom of the page.

Every time I click a tab, the screen jumps toward the top

17条回答
  •  再見小時候
    2020-11-30 23:06

    I was given a solution for this...

    How to stop screen from jumping up when tab is clicked:

    Wrap the div that contains the tabs in a div with a fixed height.

    See example here: http://5bosses.com/examples/tabs/sample_tabs.html

提交回复
热议问题