Answer the question
In order to leave comments, you need to log in
How to make directory blocks always open?
Good afternoon! I am editing the site now, and I stopped at the Catalog block. There are 4 blocks with goods, the trick is that when you select 1 block, the remaining 3 are closed. What to do so that they do not close all? I took the block from another site, but I can’t figure it out in any way.
drtvader.esy.es/bad
Answer the question
In order to leave comments, you need to log in
At first glance, you need to dig into the main.js file
$("#t2").click(function () {
$(this).addClass("active");
$("#t1, #t3, #t4").removeClass("active");
$("#i2").show();
$("#i1, #i3, #i4").hide();
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question