https://alvarotrigo.com/fullPage/ https://alvarotrigo.com/fullPage/
我已经尝试过这样的代码,但遗憾的是它不起作用。我想在 976px 之后为移动用户禁用它。
<script>
if (screen && screen.width > 768) {
document.write('<script type="text/javascript" src="http://your-file-path/fullpage.js"><\/script>');
}
</script>
只需使用responsiveWidth
or responsiveHeight
选项结合fp-auto-height-responsive
.
阅读有关所有这些选项的更多信息fullPage.js 文档 https://github.com/alvarotrigo/fullPage.js or see 这个代码笔 https://codepen.io/alvarotrigo/pen/MzByMa.
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)