Menu icon Foundation
Reveal - External webpage in modal

Can somebody write a step-by-step instruction about how to fire a simpel external webpage like Google.com inside a modal window?

I followed the Zurb's DOCS but it's not working at all.

This is what I've done.

** Edit code is in the first replay.

reveal

Can somebody write a step-by-step instruction about how to fire a simpel external webpage like Google.com inside a modal window?

I followed the Zurb's DOCS but it's not working at all.

This is what I've done.

** Edit code is in the first replay.

Shmoo almost 6 years ago

This is the HTML code.

- inside the content.
<a href="http://google.com" data-reveal-id="myModal" data-reveal-ajax="true">Click</a>

....

- bottom of the page.

<div id="myModal" class="reveal-modal" data-reveal></div>
...load foundation.js
...load reveal.js
</body>
</html>

Yanik Turgeon over 5 years ago

Hello,

How about I want to load only a div or a form from an external page via ajax???