Skip to main content

Javascript to close Popup

Comments

4 comments

  • Ariel H.

    Hi Alexander,

    Thank you for reaching out to us.

    We regret to inform you that custom development falls outside the scope of our support. We only provide support for Bizy's existing features.  However, we recommend reporting this issue to the developers of Joli Table Of Contents as well, as they may be able to provide the additional help you need.

    We apologize for any inconvenience this may cause and appreciate your understanding.

    Best regards,
    Ariel H.

    0
  • Alexander Campos

    They mentioned this:

    https://wpjoli.com/docs/joli-table-of-contents/developer-hooks/javascript-events/jtocclickedheading/

     

    I can embed it on the page but what is the element that needs to close?

     

    0
  • Alexander Campos
    document.getElementById('wpj-jtoc').addEventListener( 'jtocClickedHeading', ( e ) => console.log( 'JTOC CLICK', e ) );
    0
  • Ariel H.

    Hi,

    Thank you for the update.

    Making changes to the behavior of a third-party plugin is beyond the scope of our support. Please understand that our support is limited to Brizy Builder. Since the plugin already has the ability to disappear when you click outside of the TOC popup, we recommend reaching out to the plugin developers to request a feature that allows the popup to close when one of the items in the TOC is clicked. They should know how to implement this since it is their product.

    Sorry for the inconvenience.

    Best regards,  
    Ariel H.

    0

Please sign in to leave a comment.