PDA

View Full Version : disable or stop 2nd popup if first already open



vinpkl
06-16-2015, 03:23 PM
Hi all

I am using magnific popup script to open two popups.

First popup is opening on click of a link.

Second popup is opening automatically on page load after 5 second interval.

Now i want is, if First magnific Popup is already opened, then second magnific popup should not open till first is open.

How can i do it ??

here is a codepen link
http://codepen.io/vineet/pen/EjvxLN


Thanks
Vineet