我正在寻找一种在div
选择相关缩略图时在其中显示更大图像的方法。下面是我尝试使用 jquery、javascript 或 html5 执行的操作的示例。哪种方法最适合如下布局
<div id="show_area">
show large non-thumb image here
</div>
<!-- selection list -->
<div id="view1">
<div class="info">
<span>Product: Info</span>
<span>Description: Info</span>
</div>
<a href="#"><img src="/thumb.jpg"></a>
</div>
<div id="view2">
<div class="info">
<span>Product: Info</span>
<span>Description: Info</span>
</div>
<a href="#"><img src="/thumb.jpg"></a>
</div>
<div id="view3">
<div class="info">
<span>Product: Info</span>
<span>Description: Info</span>
</div>
<a href="#"><img src="/thumb.jpg"></a>
</div>
<div id="view4">
<div class="info">
<span>Product: Info</span>
<span>Description: Info</span>
</div>
<a href="#"><img src="/thumb.jpg"></a>
</div>
<div id="view5">
<div class="info">
<span>Product: Info</span>
<span>Description: Info</span>
</div>
<a href="#"><img src="/thumb.jpg"></a>
</div>
<div id="view6">
<div class="info">
<span>Product: Info</span>
<span>Description: Info</span>
</div>
<a href="#"><img src="/thumb.jpg"></a>
</div>