Hi I’m trying to get the Tabs section to move the arrow over the seleted image.
I’ve used the following code to get the textsection to switch, but I can’t get the arrows to switch.
I’d also like to make a smooth transition witht he arrows.
(function($){
$(’#tabsection .x-container’).on(‘click’, ‘.x-column’, function(){
var textshow = $(this).index(’#tabsection .x-column’);
$(’#textsection .x-container’).addClass(‘hidden’);
$(’#textsection .x-container’).eq(textshow).removeClass(‘hidden’);
$(’#textsection .x-container’).addClass(‘tab-selector’);
});
})(jQuery);
(function($){
$(’#tabsection .x-container’).on(‘click’, ‘.x-column’, function(){
var arrowShow = $(this).index(’#ember2387 .x-column’);
$(’#ember2387 .x-container’).addClass(‘hidden’);
$(’#ember2387 .x-container’).eq(arrowShow).removeClass(‘hidden’);
$(’#ember2387 .x-container’).addClass(‘tab-selector’);
console.log(arrowShow;)
})(jQuery);