• Resolved Michael Sutter

    (@michih)


    Hi Mark

    In short, I am trying to achieve the same as described in this thread.

    However, using “image click” as a trigger, I can’t find an option to integrate the “Modal to modal links” in an easy way inside the modal content.

    Can you assist please?

    Thanks a lot
    Michael

Viewing 1 replies (of 1 total)
  • Plugin Author merbmerb

    (@merbmerb)

    Hi Michael

    This is possible but you will need to use a custom HTML block (plans to automate this but not done yet).

    Say you have 2 modals,

    modal1 – the originating modal
    modal2 – the modal you want called when you click the image within modal1

    You create modal1 as normal but use a custom HTML block for the image, e.g.

    <a href="#" class="bod-modal-to-modal nextmodal"><img src="https://testenv.local/wp-content/uploads/2022/01/IMG_1142.jpg"></a>

    For modal2 you create a modal using trigger ‘custom element click’ and set the custom element selector to the class defined in modal1, which in this example is ‘nextmodal’. Please do not nest the modals, create them on the same level not modal2 inside modal1.

    That should work, I just tested it to make sure.

    Let me know if you have any problems.

Viewing 1 replies (of 1 total)
  • The topic ‘Navigation inside modals’ is closed to new replies.