当前位置:编程学习 > JAVA >>

jQuery制作相册

<head>
    <title></title>
    <style type="text/css">
    #mydiv ul{ list-style-type:none;}
    #mydiv ul li{ display:inline;}
    #mydiv{ width: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>

补充:web前端 , JavaScript ,
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,