I have Viewer JS installed on a website to display PDF files for a newspaper...My client would like an archive of past PDF papers as well....I have decided to just create a separate template and use repeatable regions to allow them to just upload their old PDF files to this page when they add the new PDF files of upcoming papers....Is their a way though to upload the old PDF files as links though and when clicked open up in Viewer JS? I know that Viewer JS basically is the link but wonder if possible to just show the link unless clicked....Thank you...
The JS code is in an Iframe
Edit
In order to use a pagination set up I have switched to a clonable template....What I'd like to do is mask the link with maybe words once its on the template..When the words are clicked it opens the link up ...Instead of the viewer JS already opened up showing the PDF file as in the pic,maybe listing it behind text such as "journal-2015"..Once the text is clicked the link opens to the image shown
- Code: Select all
<cms:show_repeatable 'pdf_papers'>
<iframe src="<cms:show k_site_link />ViewerJS/#<cms:show PDF_document />" style="text-align:center;" width='400' height='350' allowfullscreen webkitallowfullscreen></iframe>
</cms:show_repeatable>
The JS code is in an Iframe
Edit
In order to use a pagination set up I have switched to a clonable template....What I'd like to do is mask the link with maybe words once its on the template..When the words are clicked it opens the link up ...Instead of the viewer JS already opened up showing the PDF file as in the pic,maybe listing it behind text such as "journal-2015"..Once the text is clicked the link opens to the image shown