Page 534 - Xara Designer Pro X17
P. 534
534 Web Graphics and Websites
When importing a PDF file a prompt is shown to let you choose between these two
options.
When adding a link, the PDF file is copied into the support folder of your design, so it’s
exported and published with the rest of your site. And a link is added which looks like this
on the page:
Clicking the link on your exported page normally opens the PDF file, but the exact
behavior varies depending on the user’s browser settings.
Word and other files
Use the LINK tab of the WEB PROPERTIES DIALOG to add a link to a Word document or any
other file. Select the LINK TO FILE button and then browse for the file.
When you publish your site, the document is published with it.
Clicking the link on your published page normally causes the browser to download the
file.
Widgets from other widget sites
There are hundreds or thousands of sites offering widgets of some form or another and
the ONLINE CONTENT CATALOG offers only a tiny subset of what is available on the web.
Just about all widgets are provided to you in the form of a small piece of HTML code. The
widget provider will normally give you some simple instructions on how to insert the code
into your web page, but with Xara Designer Pro X it really is very simple.
Copy the code from the widget provider to your system clipboard, just as you copy text in
a word processor. Sometimes the widget provider may even provide a ‘copy’ button
which copies the code for you.
Then in Xara Designer Pro X go into the SELECTOR TOOL and then do a normal paste
operation (Ctrl+V). You’ll see that Xara Designer Pro X recognizes the HTML code and
immediately starts to render a placeholder image, just as it does when inserting a widget
from the ONLINE CONTENT CATALOG. The placeholder appears on your page, usually with
the most appropriate size for the widget. You can then preview your page to see your
working widget!
You can also paste widget code into both the head and body of your page using the
Placeholder tab (on page 485) of the Web Properties dialog.
NOTE: If you are in the TEXT TOOL when you paste the code, it will be pasted as text
instead of producing a placeholder! And once you’ve pasted the contents of the clipboard
as text once, it will continue to paste as text even if you switch to the SELECTOR TOOL and
paste again. If you get into this position, return to the widget website and copy the code
again. Then do the paste while in the SELECTOR TOOL.