Categories

Featured templates

JS Animated. How to link slider images

Alex Ross July 9, 2012
Rating: 5.0/5. From 2 votes.
Please wait...

This tutorial will show you how to assign links to your slider images in JS animated template.

Please, open your index.html file and find the code related to the slider

You need to add <a></a> tags to the <img> tag.

For example, the following line:

<div class="slide"><img src="images/slide1.jpg" alt=""></div>

should be changed to:

<div class="slide"><a href="http://google.com"><img src="images/slide1.jpg" alt=""></a></div>

If you wish to open your link in a new browser tab, you should add target="_blank" to your <a> tag e.g.

<div class="slide"><a href="http://google.com" target="_blank"><img src="images/slide1.jpg" alt=""></a></div>

Feel free to check the detailed video tutorial below:

JS Animated. How to link slider images
This entry was posted in JS Animated tutorials, Website Templates and tagged images, link, slider. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket