I have an interactive slideshow at the top of my front page. It has 3 pictures which change every 5 seconds. I can’t seem to attach links to the pictures, only the text within it.
Is there a way for me to be able to make the whole slideshow a link which changes to another link every 5 seconds?
Hi,
You can set an onClick event for the slideshow, use wixLocation.to in order to redirect users.
Check out this code for example:
export function fullWidthSlides1_click(event) {
if(event.target.currentIndex === 2){
wixLocation.to("/home");
}
}
Good luck
Or
That’s a great suggestion. I am going to try it out right away. Thank you for your help