I'm in need of assistance with this issue. Please take a look at the fiddle link below to understand the specific requirement.
$(document).ready(function(){
$('a.n-stand-b, a.n-stand-a, a.e-stand-b, a.e-stand-a, a.w-stand-b, a.w-stand-a, a.s-stand-b, a.s-stand-a').click(function() {
$('[class*="b-"]').removeClass(function(index, className) {
return (className.match(/(^|\s)b-\S+/g) || []).join(' ');
});
var stand_class= $(this).attr('class');
$('div.'+stand_class).hide().prependTo('.container-right-column .container-right').slideDown(1000);
$('div.'+stand_class).addClass('b-'+stand_class);
});
});
https://jsfiddle.net/oz2k1xav/2/
Currently, when I click on a stadium block on the left, it slides down on top of the right container.
After scrolling down, the left container is fixed while the right container is scrollable. When clicking on a stadium block, it appears at the top of the right container.
However, I would like the right container blocks to be visible within the window when I scroll down and click on a stadium block in the left container, not at the top of the right container.
I really need help with this. Please assist me with a solution.
Thank you