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!
  • 相关阅读:
    前言
    上传图片
    创建数据库
    HttpPostedFile类的使用方法
    C#中virtual和abstract的区别
    C#中new的用法,及与override的区别
    jQuery使用clone克隆元素
    JavaScript使用delete删除属性
    Docker的简单使用
    低版本SqlServer将查询结果转成JSON字符串
  • 原文地址:https://www.cnblogs.com/surfing/p/3417667.html
Copyright © 2011-2022 走看看