Bob, if your source document is a PDF, or you can convert it into one, you can use a Placeholder.
The trick is to drop the PDF onto your page as a Link, export the page, to ensure the PDF is added into your site and delete the link on the page.
I create my Placeholders by hand so:
- Create a rectangle the size you want to display the document in.
- Select it and then pick Web Properties > Placeholder > HTML code (body).
- Insert code similar to:
Code:
<iframe name=pdf src="index_htm_files/Stourpaine%20Parish%20Plan.pdf" height=100% width=100% frameborder=0 scrolling=auto></iframe>
Here is the end web page: http://www.stourpaine.info/villageplan.htm.
If you try to use the Xara "Embed a website widget", it complains if the URL does not begin with http://.
A workaround is slap in "http://www.google.com", click the Generate code button and then alter the src part of
<iframe src="
http://www.google.com" width="100%" height="100%" frameborder="0" scrolling="auto" name="xara_iframe" ><p>Your browser does not support iframes.</p></iframe>
to your required PDF.
Acorn
Bookmarks