any idea how to target the dots in these two Sliders?
the idea is that one of the (‘ik-tabs-link-wrap’).click, will bring up the correspondent slide.
currently, this works but only for the first Slider, and that triggers the same on the second Slider >>
$(document).ready(function() {
// link1
$('#link1').click(function(e) {
e.preventDefault();
$('div.w-round div:nth-child(1)').trigger('tap');
});
//link2 ...
$('#link2').click(function(e) {
e.preventDefault();
$('div.w-round div:nth-child(2)').trigger('tap');
});
//glink3 ...
$('#link3').click(function(e) {
e.preventDefault();
$('div.w-round div:nth-child(3)').trigger('tap');
});
//gotolink3...
$('#link4').click(function(e) {
e.preventDefault();
$('div.w-round div:nth-child(4)').trigger('tap');
});
});
Here is my site Read-Only: LINK
(how to share your site Read-Only link)