zoukankan      html  css  js  c++  java
  • jquery.backstretch

    设置一张背景图
    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> <script src="jquery.backstretch.min.js"></script> <script> $.backstretch("pot-holder.jpg"); </script>

    or

    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script>
    <script src="jquery.backstretch.min.js"></script>
    <script>
        $(".other").backstretch("coffee.jpg");
    </script>

    背景图片轮换
    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> <script src="jquery.backstretch.min.js"></script> <script> $.backstretch([ "pot-holder.jpg", "coffee.jpg", "dome.jpg" ], { fade: 750, duration: 4000 }); </script>

    https://github.com/srobbin/jquery-backstretch

  • 相关阅读:
    MySQL大数据分页调优实践
    CentOS 搭建L2TP
    CentOS 搭建SS5
    CentOS 搭建PPTP
    CentOS 防火墙 firewalld
    CentOS 初始化账号
    nginx升级与回退
    Python
    python
    linux
  • 原文地址:https://www.cnblogs.com/qinyan20/p/3878233.html
Copyright © 2011-2022 走看看