• Resolved mpotter21

    (@mpotter21)


    Hi there – I am trying to add a feature to allow navigation between modals while one is already open. However if I try adding a trigger link in the open modal with the class for the next modal, it isn’t working as expected.

    Can you point me in the right direction to add next/prev links for each modal block? Any info would be appreciated. Thanks again!

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author merbmerb

    (@merbmerb)

    Hi this is not something that is supported at the moment. The whole idea with modals is that only one modal should be active at any one time (there is a check in the js code to ensure only 1 modal is open at once). Therefore to implement this, control would need to be passed from one modal when it’s closed to another modal. Having said that I think I know how I could do this. I am working on a new version at the moment so let me see what I can do, but it may take a couple of weeks before it’s released.

    Plugin Author merbmerb

    (@merbmerb)

    Hi, I have made the change to allow this, but have not pushed the release yet. In the short term if you need it just grab the modal.js file from here https://github.com/merbird/modal-block and replace the one in the plugin directory.

    In order for it to work do what you were doing but also add the class bod-modal-to-modal class to the trigger link.

    Let me know if you have any problems

    Thread Starter mpotter21

    (@mpotter21)

    Awesome thanks! This is exactly what I was looking for. I appreciate the quick response as always.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Navigation between modals’ is closed to new replies.