zoukankan      html  css  js  c++  java
  • jQuery制作相册

    <head>
        <title></title>
        <style type="text/css">
        #mydiv ul{ list-style-type:none;}
        #mydiv ul li{ display:inline;}
        #mydiv{ 500px; border:solid 1px #444; background-color:#333;}
        </style>
        <link href="css/nf.lightbox.css" rel="stylesheet" type="text/css" />
        <script src="js/Jquery1.7.js" type="text/javascript"></script>
        
        <script src="js/NFLightBox.js" type="text/javascript"></script>
        <script type="text/javascript">
            $(function () {
                $('#mydiv ul a').lightBox();
            })
        </script>
    </head>
    <body>
    <div id="mydiv">


    <ul>
    <li><a href="images/1.jpg"><img src="images/1_small.jpg" /></a></li>
    <li><a href="images/2.jpg"><img src="images/2_small.jpg" /></a></li>
    <li><a href="images/3.jpg"><img src="images/3_small.jpg" /></a></li>
    <li><a href="images/4.jpg"><img src="images/4_small.jpg" /></a></li>
    <li><a href="images/5.jpg"><img src="images/5_small.jpg" /></a></li>
    <li><a href="images/6.jpg"><img src="images/6_small.jpg" /></a></li>
    <li><a href="images/7.jpg"><img src="images/7_small.jpg" /></a></li>
    <li><a href="images/8.jpg"><img src="images/8_small.jpg" /></a></li>
    <li><a href="images/9.jpg"><img src="images/9_small.jpg" /></a></li>
    <li><a href="images/10.jpg"><img src="images/10_small.jpg" /></a></li>
    <li><a href="images/11.jpg"><img src="images/11_small.jpg" /></a></li>
    <li><a href="images/12.jpg"><img src="images/12_small.jpg" /></a></li>
    </ul>


    </div>

  • 相关阅读:
    腾讯安全上海游戏部门笔试题
    2017
    2016
    2015
    2014
    2013
    2012
    2011
    2010
    2009
  • 原文地址:https://www.cnblogs.com/qiqiBoKe/p/3088041.html
Copyright © 2011-2022 走看看