You can read more about responsive options in the the fullpage.js documentation: responseWidth:(默认 0 )将在定义的宽度(以像素为单位)下使用常规滚动( autoScrolling:false ).如果用户想要将其 fp-响应类添加到body标签,以防其希望将其用于自己的响应CSS.例如,如果设置为900,则每当浏览器的宽度小于900时,插件就会像正常站点一样滚动.responsiveWidth: (default 0) A normal scroll (autoScrolling:false) will be used under the defined width in pixels. A class fp-responsive is added to the body tag in case the user wants to use it for their own responsive CSS. For example, if set to 900, whenever the browser's width is less than 900 the plugin will scroll like a normal site. responseHeight:(默认 0 )将在定义的高度(以像素为单位)下使用普通滚动( autoScrolling:false ).如果用户想要将其 fp-响应类添加到body标签,以防其希望将其用于自己的响应CSS.例如,如果设置为900,则每当浏览器的高度小于900时,插件就会像正常站点一样滚动.responsiveHeight: (default 0) A normal scroll (autoScrolling:false) will be used under the defined height in pixels. A class fp-responsive is added to the body tag in case the user wants to use it for their own responsive CSS. For example, if set to 900, whenever the browser's height is less than 900 the plugin will scroll like a normal site. 这篇关于在移动设备上禁用全页js的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云! 08-24 02:40