Hello there,
I have done some research around the forum, but I can’t find the answer for this issue.
I currently have a Wix Pro Gallery connected to a dataset - everything is in order. When I click an item of my gallery the link from my dataset opens just fine, but inside a new tab. So I’m wondering how do I make my link open in the current tab .
I’ve seen some people using these kinds of code to open a link inside the current tab, but it doesn’t work when the element is a gallery.
$w.onReady(function () {
$w("#myElement").target = "_self";
});
Thanks for reading my post.