Follow these step-by-step instructions to embed a PDF in your page:
- Click and drag the PDF file onto an empty page in your project.
- A message will appear asking if you want to import the file as a page or add it as a link.
- Select "Import" if you want to add all PDFs to your project as standalone pages.
- Select "Add Link" if you want to embed the PDF file as an object which can be opened (recommended).
- Check the preview monitor to view the embedded file.
You can also add documents to pages as iframes. To do this, follow these instructions:
- Click and drag the PDF file onto an empty page in your project.
- A message will appear asking if you want to import the file as a page or add it as a link.
- Select "Add Link". Doing this links the PDF file to your project so that it will be uploaded to the server when you publish the project.
- Move the PDF icon off of the page or onto the MouseOver layer so that the icon will not be visible to users of the site.
- Add a placeholder to the page (e.g. a rectangle).
- Right-click the placeholder and select "Web Properties".
- In the next menu, open the "Placeholder" tab.
- Enable "Replace with HTML code" and click "HTML code (body)".
- Insert the lines of code provided below and click "OK".
The code you need to add is:
<object data="index_htm_files/File_Name.pdf" type="application/pdf" height="800" width="800"><embed src="index_htm_files/File_Name.pdf" type="application/pdf" /></object>
Parts of the code need to be changed to match your individual needs.
- Replace "File_Name.pdf" with the name of your PDF file.
- Change the height and width values to match the dimensions of your page (in our example these are set to 800 pixels).
- Check the results in the preview monitor.
You can also link documents to other websites. To do this, follow these instructions:
- Create a new project.
- Do not name the first page "index". Instead, give it another name.
- Design the page however you want. Essentially the only thing that needs to be seen is the formatted text.
- Upload the project to your FTP server.
- Now, click on your website project and create a new placeholder.
- Right-click the element and select "Web Properties".
- In the next menu, open the "Placeholder" tab.
- Enable "Replace with HTML code" and click "HTML code (body)".
- Insert the lines of code provided below and click "OK".
The code you need to add is:
<iframe src="File_Name.htm" width="800" height="800" scrolling="yes"></iframe>
Parts of the code need to be changed to match your individual needs.
- Replace "File_Name.htm" with the name of the page from the other project.
- Change the height and width values to match the dimensions of your page (in our example these are set to 800 pixels).
- The results cannot be viewed until you publish the project. The contents of the iframe will be displayed when the page is opened online.