• Resolved polarracing

    (@polarracing)


    Previously it was possible to close a popup with a button within the popup with the #close and the evr-close class.

    No this is not working anymore. What has changed?

    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • I didn’t change anything to the pop up form/class/css for few weeks. :/ Can you email me to troubleshoot this please?

    Thread Starter polarracing

    (@polarracing)

    No it seems the javascript has changed.

    Now I need to a link with classes previously I could place a link within a div with the needed classes.

    Also my own link is altered with “data-et-has-event-already=”true” during the page is loading. this seems to be a counter of the instances for your javascript listerners.

    Also I found out, that my button disappears when I disable the close button option for the popup.

    So it seems its the new script causing the issue.

    Thread Starter polarracing

    (@polarracing)

    To detail it a bit more:

    Old code:

    <div class="evr-close">
      <a href="#close">close</a>
    </div>

    New code:

    <a href="#close" class="evr-close">close</a>

    is altered to:

    <a href="#close" clas="evr-close" data-et-has-event-already=”true”>close</a>

    This causes my own close button then to be inactive.

    When I disable the “close-button” option in the popup setup – the close button and my own button is gone.

    Two potential solutions:

    1. allow more than one instance of the close link & class
    2. add a second # & class combination for an own close button

    • This reply was modified 4 years, 9 months ago by polarracing.
    • This reply was modified 4 years, 9 months ago by polarracing.
    Thread Starter polarracing

    (@polarracing)

    Solved.

    I use DiviArea.hide() now. Works fine.

    Hello @polarracing,

    Glad it has solved the problem ??
    Please feel free to get back to us, in-case of any problem.

    Regards,
    Syed from divimode.com

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Close Popup with button’ is closed to new replies.