Modal dialogs

Give a link an up-modal attribute to extract a CSS selector from the destination and open the fragment in a modal dialog. No server-side changes required.

<div class="story">

  <p>Story summary</p>

  <a href="full.html" up-modal=".story">
    Read full story

<div class="story">

  <h2>Full story</h2>

  <p>Lorem ipsum dolor sit amet.</p>

This website uses cookies to improve usability and analyze traffic.
I accept or learn more