I want to change .product-image div when I click or hover on the small thumbnails only with HTML. Before I use a JavaScript code but I want to skip JavaScript method and leave only pure HTML.
Is there any way to can do this only with HTML?
I just want to say that the images will not have the same name like, instead the image name will be a variable, so every time when the page is loaded there will be other names for the images.
Here is my code:
ul,ol {list-style:none;}
.product-img-box {float:left;}
.product-img-box .product-image {width:300px; float: right;}
.product-img-box .more-views li img {width:90px; }
<div class="product-img-box">
<div class="more-views" style="float:left">
<ul class="slides" id="slides">
<li><a rel="#" href="#"><img src="http://i64.tinypic.com/24cuyhk.jpg" alt=""></a></li>
<li><a rel="#" href="#"><img src="http://i64.tinypic.com/23mamww.jpg" alt=""></a></li>
<li><a rel="#" href="#"><img src="http://i63.tinypic.com/1zwyaux.jpg" alt=""></a></li>
<li><a rel="#" href="#"><img src="http://i63.tinypic.com/1zmk0ag.jpg" alt=""></a></li>
<li><a rel="#" href="#"><img src="http://i64.tinypic.com/espx68.jpg" alt=""></a></li>
</ul>
</div>
<p class="product-image" style="float:right">
<a href="#"><img src="http://i64.tinypic.com/24cuyhk.jpg" alt="" id="mainImage"></a>
</p>
</div>
Thank you so much