Answer the question
In order to leave comments, you need to log in
Which plugin to choose for independent popups?
Actually, the task is to transfer the block lying next to the activated element to the inline popup.
We need a button that, on click, displays a product card in the form of a popup.
<div class="card">
<--! Сама карточка -->
<a href="#">Подробно</a>
<div class="hidden big_item">
<--! Более подробная карточка -->
</div>
</div>
$(this).parents('.card').children('.big_item');
Answer the question
In order to leave comments, you need to log in
I liked arcticModal
$('.f_look').click(function() {
$(this).parents('.card').find('.big_item').arcticmodal();
return false;
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question