Web Address Overview

You can add web addresses to objects so when the file is displayed on a web page, you can click on the objects to take you to other locations. You can also add a web address that opens an email form when it is clicked on or one that opens a newsgroup. For more details on how to add a web address to an object, see Adding web addresses to objects.

Types of Web Address

Absolute web addresses consist of the full address for a location. They usually start with the type of location followed by a colon (e.g. 'http:'). Examples are:

"www.xara.com" - the Xara Ltd web site. "http://" is automatically inserted in front of "www.xara.com".

"file:///c|/picture.xar" - picture.xar on the C drive.

"D:\picture.web" - picture.web on the D drive. This is an alternative format using a '\'.

Relative web addresses are shortened web addresses which specify locations relative to current location. This means you can specify files that are in the same folder or in subfolders easily. Examples are:

"pictureWEB" - the pictureWEB file.

"pictures/pictureWEB" - the pictureWEB file in the pictures subfolder.

"../page.html" - the page.html file in the folder above.

"/picture.xar" - picture.xar in the root folder of the web site.

There are also some other types of web address used for special purposes. Examples are:

"ftp://ftp.abc.xyz/pub/file.txt" - open file.txt in the pub folder on the ftp.abc.xyz ftp server.

"news:uk.music.rave" - open the uk.music.rave newsgroup.

"mailto:info@xara.com" - send email to info@xara.com.

How Web Addresses are treated

If a web address consists of three groups of letters separated by dots, e.g. "www.xara.com", Xara LX treats it as "http://www.xara.com".

If a web address starts with a '/' it is assumed to be an absolute web address starting from the root of the drive containing the HTML file.

If a web address starts with some letters followed by a colon, Xara LX will assume it is an absolute web address. If it does not, Xara LX will assume it is a relative web address.

Target frame

If you want the web address to display in a specific frame in the browser, you can specify the "target" frame.

For example, if you type 'http://www.xara.com' into the URL field and 'RIGHT' into the Frame field, then this tells the browser to display the page 'http://www.xara.com' in the frame called 'RIGHT'. By default, the value in this field will be '_self'. This means that the page displays in the same frame as the current document.

The drop-down list contains four frame names that cause the browser to do special things:

_self Fetch the specified web page into this frame. (The frame that contains this object.) This is the best option to use if you are not sure which to use.

_parent Fetch the specified web page into the parent window or frameset that contains this frame.

_top Fetch the web page into the main browser window, replacing any existing frames.

_blank Fetch the web page into a new window.

default Do not include a TARGET attribute in the image map entry for this object. This has the same effect as _self unless you have used a BASE TARGET= tag in the HTML document.

You can either select one of these, or type in the name of another frame.

Tips

Wherever possible, use relative addresses to link between files. This means the files can be moved without breaking links.

If you have an address like "abc.com" rather than "www.abc.com" you should enter "http://abc.com" as the "http://" is not added automatically.

Movies

Creating hot-spots

Image maps

_______________

Related Topics

Web addresses

Internet