Answer the question
In order to leave comments, you need to log in
How to fix hidden block before parallax?
I connected parallax.js to the page
There are two blocks.
The first block has a hidden block, which is revealed by clicking on the link.
The second block has parallax.
So, when I click on a link and open a hidden block, this block will overlap with the second block.
How can you fix this?
Answer the question
In order to leave comments, you need to log in
Fixed as follows.
$('a.expand').click(function (e) {
e.preventDefault();
var blockid = $(this).attr('data-block');
$(blockid).toggle(800, function () {
$(window).resize();
});
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question