zoukankan      html  css  js  c++  java
  • 返回顶部、收藏

    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!
  • 相关阅读:
    Eclipse下载
    Java为什么需要基本类型
    今日学到乱写
    图解HTTP——阅读笔记
    HashMap以及ConcurrentHashMap
    别个代码阅读学习(一)
    nodeJs配置相关以及JSON.parse
    数据库设计那些事儿
    数据库特训系列1——基础拾遗
    机器学习之词语识别——记录
  • 原文地址:https://www.cnblogs.com/surfing/p/3417667.html
Copyright © 2011-2022 走看看