I want to display a pdf document inside a modal popup. Opening the pdf by linking it lets the user inadvertently leave the web site. However, in a modal, clicking the X in the corner of the popup keeps the user on the site.
Note: I already have page and module content displaying in popups. That's not the issue. The problem is getting a pdf to do the same. Are there any alternatives short of turning the pdf into a jpg or png? This is not a good choice because it would require constant attention as the pdf documents change frequently.
Thanks for your thoughts.