页面滚动指定导航,卡点位置要能看到标题
<div class="page-tabs-bar ">
<ul class="page-tabs flex" role="tablist">
<li role="presentation" class="active"><a href="#tt1" aria-controls="tt1" role="tab"
data-toggle="tab">需求分析</a></li>
<li role="presentation"><a href="#tt2" aria-controls="tt2" role="tab"
data-toggle="tab">清洗和脱脂</a></li>
<li role="presentation"><a href="#tt3" aria-controls="tt3" role="tab"
data-toggle="tab">去毛刺和清洁</a></li>
<li role="presentation"><a href="#tt4" aria-controls="tt4" role="tab"
data-toggle="tab">精密清洗</a></li>
<li role="presentation"><a href="#tt5" aria-controls="tt5" role="tab"
data-toggle="tab">表面处理</a></li>
<li role="presentation"><a href="#tt6" aria-controls="tt6" role="tab"
data-toggle="tab">旧设备</a></li>
</ul>
</div>
jQuery(function($) {
$(document).ready( function() {
$('.page-tabs-bar').stickUp({
topMargin: '70px'
});
});
});