返回顶部、收藏

1 <div id="ujian-backtop" style="left: auto; right: 5px; position: fixed; top: auto; bottom: 10px; z-index: 2147483643; overflow: hidden; display: block; opacity: 1;">
2 <a onmouseover="this.style.backgroundPosition='-96px 0';" onmouseout="this.style.backgroundPosition='-64px 0';" href="#" title="返回顶部" onclick="UJIAN.backTop();return false;" style="margin-left: 3px; background-image: url(http://img.ujian.cc/style/1.png); background-attachment: scroll; background-color: transparent; display: block; float: right; outline: none 0px; text-indent: -9999em;  32px; height: 32px; background-position: -64px 0px; background-repeat: no-repeat no-repeat;">返回顶部</a><a onmouseover="this.style.backgroundPosition='-32px 0';" onmouseout="this.style.backgroundPosition='0 0';" href="#" title="猜你喜欢" onclick="UJIAN.slideOpen();return false;" style="background-image: url(http://img.ujian.cc/style/1.png); background-attachment: scroll; background-color: transparent; display: block; float: right; outline: none 0px; text-indent: -9999em;  32px; height: 32px; background-position: 0px 0px; background-repeat: no-repeat no-repeat;">猜你喜欢</a></div>
View Code

效果:

Don't go too far and forget why starting!
原文地址:https://www.cnblogs.com/surfing/p/3417667.html