This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
content_embed_pdf [2018/11/08 01:22] brittany [Example Code] |
content_embed_pdf [2019/08/15 18:27] brittany [Embedding PDF Files] |
||
---|---|---|---|
Line 11: | Line 11: | ||
{{::pdf2.jpg?700|}} | {{::pdf2.jpg?700|}} | ||
+ | **3. You would take the copied url, go to the source code icon <> in the editor and add in in this code after the //<embed src="// part:** | ||
- | **3. Click the Source code button located in the Content Editor.** | ||
+ | ====== Example Code ====== | ||
- | **4. Paste the example code below replacing 'EXAMPLE' with the URL of your PDF file.** | + | <p><embed src="https://u.realgeeks.media/rg-test-brittany/checklist.pdf" width="700" height="800" internalinstanceid="22" /></p> |
- | **5. Click Save when done.** | ||
- | |||
- | ====== Example Code ====== | ||
- | |||
- | <object data=https://u.realgeeks.media/........" type="application/pdf" width="100%" height="800px"></object> | ||
====== Notes ====== | ====== Notes ====== | ||
- | The specific dimensions used in this example work well on a Blank Template Content Page. You also have the option to adjust the width and height of the box that contains the PDF. In the above example the width is set to 900, and the height is set to 800, you can set these numbers to better suit the needs on your site. | + | The specific dimensions used in this example work well on a Blank Template Content Page. You also have the option to adjust the width and height of the box that contains the PDF. In the above example the width is set to 100%, and the height is set to 800px, you can set these numbers to better suit the needs on your site. |
If you want to add a lead capture form to pop up on the page first, then you would need to go to your content page and create a custom capture form for that page. To learn how to create custom content forms, click [[custom_capture_forms|here]]. | If you want to add a lead capture form to pop up on the page first, then you would need to go to your content page and create a custom capture form for that page. To learn how to create custom content forms, click [[custom_capture_forms|here]]. |