jQuery插件创建一个侧面部分的菜单,允许你滚动到页面上的不同部分。 调用示例$(window).load(function() { $('body').sectionMenu().fragmentScroll(); });参数$('body').sectionMenu({ // Show title in the menu enableTitle: true, // Outer element element: 'nav', // Class and data- name class: 'section-menu', // Insert content before the menu insertBefore: '', // Insert content after the menu insertAfter: '' });