前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >01.LoT.UI 前后台通用框架分解系列之——小图片背景全屏显示(可自动切换背景)

01.LoT.UI 前后台通用框架分解系列之——小图片背景全屏显示(可自动切换背景)

作者头像
逸鹏
发布2018-04-10 11:57:30
1.1K0
发布2018-04-10 11:57:30
举报
文章被收录于专栏:逸鹏说道

LOT.UI分解系列汇总:http://www.cnblogs.com/dunitian/p/4822808.html#lotui

LoT.UI开源地址如下:https://github.com/dunitian/LoTCodeBase/tree/master/LoTUI

先看在LoT.UI里面的应用效果图:

屁话不多说,上核心代码:(完整代码:https://github.com/dunitian/LoTCodeBase/blob/master/LoTUI/Manager/Login.html)

代码语言:html
复制

<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <meta charset="utf-8" />
    <link href="/open/supersized/supersized.css" rel="stylesheet" />
</head>
<body>
 
    <script src="http://cdn.bootcss.com/jquery/1.10.2/jquery.min.js"></script>
    <script src="/open/supersized/supersized.3.2.7.min.js"></script>
    <script type="text/javascript">
        $(function () {
            $.supersized({
                slides: [{ image: '/assets/img/backgrounds/1.jpg' },
                        { image: '/assets/img/backgrounds/2.jpg' },
                        { image: '/assets/img/backgrounds/3.jpg' }]
            });
        });
    </script>
</body>
</html>

第三方JS插件的地址:https://github.com/buildinternet/supersized

本文参与 腾讯云自媒体同步曝光计划,分享自微信公众号。
原始发表:2016-05-23,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 我为Net狂 微信公众号,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档