Foundation reveal-modal loop category
-
I’m using the Foundation framework and they have this reveal-modal function.(https://foundation.zurb.com/docs/components/reveal.html)
The code looks like this:
(The box itself)<div id="myModal" class="reveal-modal" data-reveal> <h2>Awesome. I have it.</h2> <a class="close-reveal-modal">×</a> </div>
And to open the box, the link looks like this:
<a href="#" data-reveal-id="myModal" data-reveal>Click Me For A Modal</a>
I’ve made a list with individual post that opens a reveal-modal. What I want to have is a category loop that spits out the post title, and has its own individual reveal modal. Is this possible and how can it be done?
The BETA for the page is currently on: https://consensio.attend.no and the list is under the “Behandlingsformer”.
- The topic ‘Foundation reveal-modal loop category’ is closed to new replies.