div class block-white div class inner ul class gallery li href tmp gal

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<div class="block-white"><div class="inner">
<ul class="gallery">
<li><a href="i/tmp/gallery-small1.jpg"><img src="i/tmp/gallery-small1.jpg" alt="" /></a></li>
<li><a href="i/tmp/gallery-small2.jpg"><img src="i/tmp/gallery-small2.jpg" alt="" /></a></li>
<li><a href="i/tmp/gallery-small3.jpg"><img src="i/tmp/gallery-small3.jpg" alt="" /></a></li>
<li><a href="i/tmp/gallery-small4.jpg"><img src="i/tmp/gallery-small4.jpg" alt="" /></a></li>
<li><a href="i/tmp/gallery-small5.jpg"><img src="i/tmp/gallery-small5.jpg" alt="" /></a></li>
<li><a href="i/tmp/gallery-small6.jpg"><img src="i/tmp/gallery-small6.jpg" alt="" /></a></li>
<li><a href="i/tmp/gallery-small1.jpg"><img src="i/tmp/gallery-small1.jpg" alt="" /></a></li>
<li><a href="i/tmp/gallery-small2.jpg"><img src="i/tmp/gallery-small2.jpg" alt="" /></a></li>
<li><a href="i/tmp/gallery-small3.jpg"><img src="i/tmp/gallery-small3.jpg" alt="" /></a></li>
<li><a href="i/tmp/gallery-small4.jpg"><img src="i/tmp/gallery-small4.jpg" alt="" /></a></li>
<li><a href="i/tmp/gallery-small5.jpg"><img src="i/tmp/gallery-small5.jpg" alt="" /></a></li>
<li><a href="i/tmp/gallery-small6.jpg"><img src="i/tmp/gallery-small6.jpg" alt="" /></a></li>
</ul>
</div><div class="bottom"></div>
</div>
ul.gallery {zoom:1;overflow:hidden;margin:0;padding:0;list-style-type:none;}
ul.gallery li {float:left;margin:0 25px 25px 0;padding:15px;background-color:#EFEFEF;border:1px solid #CCC;list-style-type:none;}
ul.gallery li img {display:block;}
$(document).ready(function ()
{
...
$('ul.gallery a').attr('target', '_blank');
...
});