Linux&C – 精华Linux–QQ群: 490921612

jQuery — uikit — 灯箱相册

.http://www.getuikit.net/docs/core.html
.http://www.getuikit.net/docs/components.html

<!doctype html>
<html>
<head>
    <script src="http://www.a.com/js/jquery.js"></script>
    <script src="http://www.a.com/js/uikit.min.js"></script>
    <script src="http://www.a.com/js/core/modal.js"></script>
    <script src="http://www.a.com/js/components/lightbox.js"></script>

    <link rel="stylesheet" href="http://www.a.com/css/uikit.min.css"> 
    <link rel="stylesheet" href="http://www.a.com/css/components/slidenav.min.css">    
</head>
<body >
    <a href="1.png" data-uk-lightbox="{group:'my-group'}"><img src='1-min.png'></a>
    <a href="2.png" data-uk-lightbox="{group:'my-group'}"><img src='2-min.png'></a>
    <a href="3.png" data-uk-lightbox="{group:'my-group'}"><img src='3-min.png'></a>
</body>
</html>

111

3333