0

这是我使用的反滚动 https://github.com/LearnBoost/antiscroll

在我的网站上,我有中间部分的代码:

<section id="middleSection">  </section>

并使用 CSS:

#middleSection{

    padding: 0;
    position: absolute;
    top: 68px;
    bottom: 100px;
    left: 150px;
    right: 200px;

}

如果我使用反滚动代码,可以在我的 middleSection 中插入一个单独的框,但我无法调整此代码以使用此 acntiscrollbar 制作实际的 middleSection。

基本上我需要用防滚动条制作这个中间部分。

4

1 回答 1

0

你可以使用 jQuery,如果你了解并理解 jQuery 库,我推荐这个插件:

关联

这是一个很棒的插件,非常简单。

于 2013-07-31T23:35:20.337 回答