I must be having a brain fart, but I cannot figure out how to make an image a clickable element that will redirect the user to a different page on the website….and I cannot find any examples on how to do this.
Any help would be very welcome!
Thanks
I must be having a brain fart, but I cannot figure out how to make an image a clickable element that will redirect the user to a different page on the website….and I cannot find any examples on how to do this.
Any help would be very welcome!
Thanks
import wixLocation from ‘wix-location’;
$w.onReady(()=>{
$w(“#myImage”).onClick(()=>{
wixLocation.to(“www.google.com”)
});
});
Thank you! I was looking in all the wrong places. You have made my day.
@_paul-2 No problem.