MX

Table Of Contents
Link to anchor
This option allows you to jump the visitor to a specific part of any page in your website.
To setup an anchor point, first go to the page and object you want to be jumped to. Select the object
and add a name to it by right clicking and choosing the Names...
option. Then select the object to which you want to add the link and choose the anchor name you added
from the list provided with the "Link to anchor" option.
Note that when you link to an object which is a long way down a web page, the web browser
automatically scrolls the page down so that your anchor object is visible.
Note
: You cannot apply a transition to a link to an anchor.
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
Page 765