I
I
Igor2015-11-04 20:35:03
css
Igor, 2015-11-04 20:35:03

How to make popup windows synchronous?

welovepavel.esy.es/1
https://vk.com/doc309751762_437002292?hash=a60f49d...
how to make them not overlap each other, and if one opens, the second closes.

$(".mc_item_wrap").click(function(){
 
            $(this).children("ul").slideToggle();
});  
    $(".mc_item_wrap_us").click(function(){

$(this).slideToggle();
});

common.js c 2 lines.
Thanks for answers!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
P
petyagrill, 2015-11-04
@petyagrill

Can you upload the psd. people are already compiling and throwing off the finished project for you. And, of course, free of charge.
Maybe read some theory. Practice yourself. And for layout issues, contact Google, video tutorials ... Since you are planning to do layout, it may be better to spend more time studying. Because if you get ready-made pieces of code here, it will not be a finished project, but a collection of bicycles, which in the future will be impossible to maintain.

S
shane89, 2015-11-04
@shane89

give z-index to the active window, turn off the rest

A
Andrey Chursin, 2015-12-02
@AndreyChursin

do hiding all before showing the selected one (styles, as I understand it, are implemented)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question