<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="imagetoolbar" content="no" />
<title>imgBox | Demo page download by http://www.codefans.net</title>
<link rel="stylesheet" href="style.css" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"></script>
<script type="text/javascript" src="imgbox/jquery.imgbox.pack.js"></script>
<link rel="stylesheet" href="imgbox/imgbox.css" />
<style type="text/css">
#images a {
margin-right: 14px;
}
#images a img {
border: 1px solid #888;
padding: 3px;
vertical-align: top;
}
#credit {
clear: both;
margin-top: 50px;
padding-top: 20px;
font-size: 10px;
border-top: 1px solid #BBB;
font-family: Verdana;
}
</style>
<script type="text/javascript">
$(document).ready(function() {
$("#example1-1").imgbox();
$("#example1-2").imgbox({
'zoomOpacity' : true,
'alignment' : 'center'
});
$("#example1-3").imgbox({
'speedIn' : 0,
'speedOut' : 0
});
$("#example2-1, #example2-2").imgbox({
'speedIn' : 0,
'speedOut' : 0,
'alignment' : 'center',
'overlayShow' : true,
'allowMultiple' : false
});
});
</script>
</head>
<body>
<div id="content">
<h1>imgBox</h1>
<p>This is a demo page. You can view the supporting article <a href="http://jqueryglobe.com/article/imgbox">here</a></p>
<hr />
<div id="images">
<a id="example1-1" title="" href="http://farm4.static.flickr.com/3498/4006876523_289a8296ee.jpg"><img alt="" src="http://farm4.static.flickr.com/3498/4006876523_289a8296ee_m.jpg" /></a>
<a id="example1-2" title="Lorem ipsum dolor sit amet" href="http://farm4.static.flickr.com/3068/3096463741_67b9979fd4.jpg"><img alt="" src="http://farm4.static.flickr.com/3068/3096463741_67b9979fd4_m.jpg" /></a>
<a id="example1-3" title="Maecenas eros massa, pulvinar et sagittis adipiscing, <br /> molestie et arcu" href="http://farm3.static.flickr.com/2642/4003912116_389c3891cf.jpg"><img alt="" src="http://farm3.static.flickr.com/2642/4003912116_389c3891cf_m.jpg" /></a>
<a id="example2-1" title="" href="http://farm4.static.flickr.com/3460/3793633187_44790d1f0a_o.jpg"><img alt="" src="http://farm4.static.flickr.com/3460/3793633187_f56bb1bf99_m.jpg" /></a>
<a id="example2-2" title="Maecenas eros massa, pulvinar et sagittis adipiscing, molestie et arcu" href="http://farm4.static.flickr.com/3456/3793633099_3e1e53e4ac_o.jpg"><img alt="" src="http://farm4.static.flickr.com/3456/3793633099_4f9c3e08b3_m.jpg" /></a>
</div>
<div id="credit">
Photo Credit: <a href="http://www.flickr.com/photos/hazrulabdulhalim/">Hazrul Abdul Halim</a>
</div>
</div>
</body>
</html>
- 1
- 2
- 3
前往页