fullPage js 在 IE 中滚动错误的高度
fullPage js scrolls wrong height in IE
我正在用 fullPage js 开发一个网站来创建一个滚动网站。
滚动在 Chrome 和 Firefox 中工作正常,但在 Internet Explorer 中它完全关闭。
滚动在页面之间和错误的页面之间进行,您根本无法使用该网站。我不知道为什么会这样。
在the fullpage.js documentation中您可以阅读以下内容:
Be careful! data-anchor tags can not have the same value as any ID element on the site (or NAME element for IE).
查看生成的 HTML 代码,我可以看到您如何使用锚点 Employers
和 ID employers
:
<div id='employers' class='howWorks grayBg'></div>
IE 可能不区分大小写。
我正在用 fullPage js 开发一个网站来创建一个滚动网站。
滚动在 Chrome 和 Firefox 中工作正常,但在 Internet Explorer 中它完全关闭。
滚动在页面之间和错误的页面之间进行,您根本无法使用该网站。我不知道为什么会这样。
在the fullpage.js documentation中您可以阅读以下内容:
Be careful! data-anchor tags can not have the same value as any ID element on the site (or NAME element for IE).
查看生成的 HTML 代码,我可以看到您如何使用锚点 Employers
和 ID employers
:
<div id='employers' class='howWorks grayBg'></div>
IE 可能不区分大小写。