
JavaScript
1
Вклад в тег
$('#buttons-grid a').click(function () {
var index = $('#buttons-grid a').index($(this));
$('#buttons-grid a').removeClass('active').eq(index).addClass('active');
$('#contactAndMapBlock__wrapper .contactAndMapBlock__right').hide().eq(index).show();
});