Menu icon Foundation
Help adding pdf file to reveal modal.

Hi I'm a newbie with foundation and I had a question. I've mocked up a resume website for my self and added a reveal modal to the Resume link on the navigation bar. The modal works but what I want is to do is add a jpg or pdf file (preferably pdf format) that will show inside the modal, but it just is not working for me. If any one can help me with this it would be great.

Appreciated!

-DrozkYy

<!--hidden modal-->
      <div id="myModal" class="reveal-modal" data-reveal>
          
          <!--file would go here-->
         <p><img src="../img/resume-design.jpg"></p>
         <!-- end -->
         
        <a class="close-reveal-modal">&#215;</a>
      </div>
    <!--end modal-->

         

pdfreveal modal

Hi I'm a newbie with foundation and I had a question. I've mocked up a resume website for my self and added a reveal modal to the Resume link on the navigation bar. The modal works but what I want is to do is add a jpg or pdf file (preferably pdf format) that will show inside the modal, but it just is not working for me. If any one can help me with this it would be great.

Appreciated!

-DrozkYy

<!--hidden modal-->
      <div id="myModal" class="reveal-modal" data-reveal>
          
          <!--file would go here-->
         <p><img src="../img/resume-design.jpg"></p>
         <!-- end -->
         
        <a class="close-reveal-modal">&#215;</a>
      </div>
    <!--end modal-->

         

This post has been closed. No new replies can be added.