博客已经迁移至
萌萌的IT人 ,谢谢支持
--------------------------------------------------
ps:不知道会不会遭到博客园的封杀
第一步:去广告
第二步:回到顶部
第一步:去广告
因为文章最下方的广告的div的id为ad_under_post_holder下的 google_ad_c1和google_ad_c2
所以 在自定义CSS代码定制代码页面风格里面添加
#ad_under_post_holder #google_ad_c1,#google_ad_c2{
display:
none !important;}
第二步:回到顶部
详细信息参照https://github.com/markgoodyear/scrollup
本人例子在 css代码定制加上
#scrollUp {
bottom: 20px;
right: 20px;
width: 38px;
height: 38px;
background: url(https://raw.github.com/markgoodyear/scrollup/master/img/top.png) no-repeat;
}
bottom: 20px;
right: 20px;
width: 38px;
height: 38px;
background: url(https://raw.github.com/markgoodyear/scrollup/master/img/top.png) no-repeat;
}
在页脚Html代码(因为jq自带,所用用jq异步记载js)
<script type="text/javascript">
$.getScript("https://raw.github.com/markgoodyear/scrollup/master/js/jquery.scrollUp.min.js",function(){$(function(){
$.scrollUp({
scrollText: ''
});
});})
</script>