<html xmlns="http://www.w3.org/1999/xhtml">
<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>
<script src="jquery/Jquery1.7.js" type="text/javascript"></script>
<link href="css/nf.lightbox.css" rel="stylesheet" type="text/css" />
<script src="jquery/NFLightBox.js" type="text/javascript"></script>
<script type="text/javascript">
$(function () {
$('#mydiv ul a').lightBox({containerResizeSpeed:1000});
})
</script>
</head>
<body>
<div id="mydiv">
<ul>
<li><a href="images/image1.jpg"><img src="images/thumb_image1.jpg" alt=""/></a></li>
<li><a href="images/image2.jpg"><img src="images/thumb_image2.jpg" alt=""/></a></li>
<li><a href="images/image3.jpg"><img src="images/thumb_image3.jpg" alt=""/></a></li>
<li><a href="images/image4.jpg"><img src="images/thumb_image4.jpg" alt=""/></a></li>
<li><a href="images/image5.jpg"><img src="images/thumb_image5.jpg" alt=""/></a></li>
<li><a href="images/image6.jpg"><img src="images/thumb_image6.jpg" alt=""/></a></li>
<li><a href="images/image7.jpg"><img src="images/thumb_image7.jpg" alt=""/></a></li>
<li><a href="images/image8.jpg"><img src="images/thumb_image8.jpg" alt=""/></a></li>
<li><a href="images/image9.jpg"><img src="images/thumb_image9.jpg" alt=""/></a></li>
<li><a href="images/image10.jpg"><img src="images/thumb_image10.jpg" alt="" /></a></li>
<li><a href="images/image11.jpg"><img src="images/thumb_image11.jpg" alt="" /></a></li>
<li><a href="images/image12.jpg"><img src="images/thumb_image12.jpg" alt="" /></a></li>
</ul>
</div>
</body>
</html>
仿百度【图片显示效果】
最新推荐文章于 2021-03-12 10:52:45 发布