bootstrap官网中的返回顶部是怎么产生的。
								我同样导入了,    <script src="http://cdn.bootcss.com/scrollu ... 6quot;></script>
这个script文件,
也在$(document).ready(function(){});函数中写了下面的语句,但是就是不产生返回顶部的按钮。。
我的网页布局用的是栅格。
$.scrollUp({scrollName:"scrollUp",topDistance:"300",topSpeed:300,animation:"fade",animationInSpeed:200,animationOutSpeed:200,scrollText:'<i class="fa fa-angle-up"></i>',activeOverlay:!1});
													这个script文件,
也在$(document).ready(function(){});函数中写了下面的语句,但是就是不产生返回顶部的按钮。。
我的网页布局用的是栅格。
$.scrollUp({scrollName:"scrollUp",topDistance:"300",topSpeed:300,animation:"fade",animationInSpeed:200,animationOutSpeed:200,scrollText:'<i class="fa fa-angle-up"></i>',activeOverlay:!1});
2 个回复
王赛
赞同来自: 洎掵芣汎哋蕏
2、打开浏览器的调试窗口,看看有没有报错
阿啊阿吖丁
赞同来自:
#scrollUp {
}}background-color: #777;
color: #eee;
font-size: 40px;
line-height: 1;
text-align: center;
text-decoration: none;
bottom: 20px;
right: 20px;
overflow: hidden;
width: 46px;
height: 46px;
border: none;
opacity: .8;
}
scrollUp:hover{background-color:#333}
@media screen and (min-width:992px){#scrollUp{bottom:100px