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!
  • 相关阅读:
    Direct2D 变换
    DWrite 文字
    Windows基础窗体编程
    .net delegate(委托类型)
    详说new和overrid区别
    类与结构区别
    IIS的Gzip压缩
    ASP.NET 状态服务和session丢失问题解决方案
    Fiddler使用
    Castle系列教程(转)
  • 原文地址:https://www.cnblogs.com/surfing/p/3417667.html
Copyright © 2011-2022 走看看