How to detect if magnific popup already opened

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vinpkl
    New Member
    • Oct 2008
    • 41

    How to detect if magnific popup already opened

    Hi

    I want to detect if magnific popup is already opened or not.

    i could not find anything related in documentation

    The complete guide on how to use Magnific Popup - the open source responsive lightbox plugin.


    thanks
    vineet
  • computerfox
    Contributor
    • Mar 2010
    • 276

    #2
    Try using a global variable that you set in the initialize method. Then you should figure out how to update the global variable when you close the pop.

    Hope that helps!

    Comment

    • vinpkl
      New Member
      • Oct 2008
      • 41

      #3
      Hi

      how to do it ??

      vineet

      Comment

      • computerfox
        Contributor
        • Mar 2010
        • 276

        #4
        Do you know what a global variable is and what access it would have?

        Comment

        Working...