Menu icon Foundation
Converting to 6.3 - Ajax Modals

Loading ajax content into modals used to be simplicity itself, now I don't know what i'm doing. My problem is that the content to be loaded is dynamic. I will have lots of links to load into a single modal.

In 5, I would do this:

<a href="\video\123" data-reveal-id="videoModal" data-reveal-ajax="true">Show Video 123</a>
<a href="\video\456" data-reveal-id="videoModal" data-reveal-ajax="true">Show Video 456</a>
<a href="\video\789" data-reveal-id="videoModal" data-reveal-ajax="true">Show Video 789</a>
...
<div id="videoModal" class="reveal-modal" data-reveal role="dialog"></div>

I'd appreciate any help, thanks.

AJAXmodal

Loading ajax content into modals used to be simplicity itself, now I don't know what i'm doing. My problem is that the content to be loaded is dynamic. I will have lots of links to load into a single modal.

In 5, I would do this:

<a href="\video\123" data-reveal-id="videoModal" data-reveal-ajax="true">Show Video 123</a>
<a href="\video\456" data-reveal-id="videoModal" data-reveal-ajax="true">Show Video 456</a>
<a href="\video\789" data-reveal-id="videoModal" data-reveal-ajax="true">Show Video 789</a>
...
<div id="videoModal" class="reveal-modal" data-reveal role="dialog"></div>

I'd appreciate any help, thanks.

kopamam over 2 years ago

After his triumph over Dimitrov, Nadal said:

 

federervsnadallive-stream.us

G W over 2 years ago

I've no way to report the above as a spam post.

 

Is anyone able to help please?