How to give border to to current displaying border
<p>I am using Shopify envy theme. I have multiple product images. I want to give border to thumb image which image is displaying as main image. In short the current image should have border.</p><p>Here is the example image what I want :<a href="http://ift.tt/1NPUKp4" rel="nofollow"><img src="http://ift.tt/1NPUKp4" alt="enter image description here" /></a></p><p>Small images are multiple different thumb image. If thumb image is displaying in main big image that thumb should have border.</p><p><strong>This is my jQuery:</strong></p><pre><br /><code>$('a.image-swap').click(function() {<br /> var newImage = $(this).attr('href');<br /> $('.featured-image-div img').attr({ src: newImage });<br /> return false;<br />});<br /></code><br /></pre><br /><h2>Click here view more answers <a href="%20http://stackoverflow.com/questions/34470325/how-to-give-border-to-to-current-displaying-border">http://ift.tt/1NGBD31</a></h2>
Nhận xét
Đăng nhận xét