Property:  Item Link

Top  Previous  Next

Specifies the web page to be opened when clicking on the item.

You can use both absolute and relative paths.

 

Absolute paths

The application considers the Link as an absolute path only if the :// substring is found in the string, such as:

 

http://

https://        

ftp://

mms://        

mailto:        

file:////servername/            (if you access a server)

file:///driveletter|/         (if you access a drive)

or file:///driveletter:/          (if the above drive syntax is not supported by your network you may need to try both and keep the one that works)

 

 

Valid examples of absolute paths:

http://www.likno.com

http://www.likno.com/faq.html

ftp://www.likno.com/downloads/AllWebMenus.exe

mailto:support@likno.com

file:////server1/testarea/test.html        (for intranet using a server)

file:///C|/testarea/test.html                    (for intranet using a hard drive)  or

file:///C:/testarea/test.html                (if the above syntax is not supported by your network)

 

Invalid examples of absolute paths:

www.likno.com

likno.com

(these strings will be parsed as relative paths and the correct URL will not open)

 

 

Relative paths

Both menu-relative and root-relative paths are allowed here.

 

The former is related to the folder where the compiled menu is located while the latter is related to the folder where the site root is located (and always starts with a slash "/"). While all types of paths successfully open their assigned pages when viewed on the server, the root-relative paths cannot resolve their assigned pages when viewed locally because Windows considers the C: drive as being the root. On the contrary, menu-relative paths do open their pages correctly when viewed locally. Therefore, as there are no important differences between the two, it is advisable to use menu-relative paths.

 

The best way to choose your linked page from within your local web site structure is to press the related button shown below:

 

       clip0051

 

As an example, let's say that the local root folder of your site is the c:\mysite folder and that the contents of your web site are:

| ----------------------------------------------- |

| c:\mysite\index.html                  |

| c:\mysite\company.html             |

|          ...                                    |

| c:\mysite\products\product.html  |

| ----------------------------------------------- |

 

Example 1:

Let's say that you compile your menu as c:\mysite\mymenu.js

 

For the item that opens the product page:

- The menu-relative URL is:        products/product.html

- The root-relative URL is:        /products/product.html

 

For the item that opens the company page:

- The menu-relative URL is:        company.html

- The root-relative URL is:        /company.html

 

Example 2:

Let's say that you compile your menu as c:\mysite\menufolder\mymenu.js

 

For the item that opens the product page:

- The menu-relative URL is:        ../products/product.html

- The root-relative URL is:        /products/product.html

 

For the item that opens the company page:

- The menu-relative URL is:        ../company.html

- The root-relative URL is:        /company.html

 

 

Anchors

A menu item can also link to a paragraph within a page:

Enter http://www.mysite.com/info.html#anchor in the URL property of the items and the menu can be used to navigate inside the www.mysite.com/info.html web page.

 

You may also insert just an anchor (eg. #top) in the <Link> property, without a specific URL. This is useful when you have many different pages using the same anchor and you want a menu item to serve the purpose of navigating to this anchor within the loaded page.

 

 

As implied by its definition, the property is only enabled on the Mouse Click state.

 

Notes: - Always use slashes instead of backslashes

(example:  ../users/~user10/user10.html  )

- Don't forget that the URL is case-sensitive on unix servers!

 

Values:Text

 

Example1:index.html
Example2:index.html#anchor
Example3:http://www.likno.com
Example4:mailto:support@likno.com

 

Applies to: Item

 

Type:Content Property

 

 

 



DHTML menu builder
CSS menu builder
CSS menu builder
Joomla menu builder
Joomla menu builder
WordPress menu builder
WordPress menu builder
Property:  Item Link
Javascript menu software
URL
Drop-down menu maker
Drop-down menu maker