MX

Table Of Contents
Link to File
This link option is useful if you want to add a document, movie or any other file to your website to make
it available to your visitors. For example you may have a PDF document that you want to make
available.
Select the object or text that you want to link. Then turn on this Link to file option and use the Browse
button to browse for the file on your computer. The name of the file appears in the text field to the left of
the Browse button. Click OK and your link is applied.
As well as applying the link, Web Designer MX Premium has now taken a copy of your file and placed it
in the support folder for your design. This is a folder next to your .web or .xar file. If your design is called
"MySite.web", the support folder will be called "MySite_web_files" alongside it. All the files in the
support folder get published along with your website and so that means your file will be published with
your website and so the link you just added will work. See the Document Handling chapter
for more information on support folders.
Note:
Because there is a separate copy of your file held in the support folder for your design, you need to
update that copy whenever you modify the file and want to publish the modified version. Or you can just
go through the above linking process again and browse for your updated file. Also if you move or copy
your website design to another computer, or give a copy to someone else, you need to make sure the
support folder accompanies the design file, since it now contains an important part of your website!
Note
: You cannot apply a transition to a link to a file.
Pop-up layer
You can add any content you like to a separate layer on your page and have that content shown as a
pop-up only when your visitor clicks on a link. For example you could add some descriptive text about a
photo on your web page and have that text only shown to the user if they click on the photo.
To add a popup layer, first you need to add the layer itself using the
Page & Layer Gallery
and add your pop-up content to that layer.
See the Page & Layer Galler
y chapter for full details. Then you can select the layer from the layer list provided next to the "Pop-up
layer" option.
You can also add a transition effect which is applied when the layer appears. In the Page & Layer
Gallery, open the layer properties so that you can apply a transition directly to a layer
to achieve an animated effect when the layer contents appear.
Now when a visitor clicks on your object, the layer contents appear! By default, clicking anywhere else
on the page makes the pop-up disappear again. But you can make the pop-up layer stay up until it's
explicitly closed by the viewer. Just unselect the Close pop-up automatically
checkbox in the Layer properties dialog. Then a close button is included in the top right of the pop-up,
and it stays on screen until the close button is pressed.
Note that you can also get to the Layer properties by clicking the "Settings…" button next to the pop-up
layer option in the Link dialog.
Note that all the content on the pop-up layer is loaded as soon as the visitor visits your page. So if you
want to provide a lot of pop-up photos, use the Pop-up Photo
feature described below instead.
The "Getting Started" chapter
includes some step by step instructions on adding layer pop-ups.
Page 768