Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

This pattern is used whenever a link is included as part of a Data Definition.

link properties data definition in its default state

How it works

Destination type

destination type data definition field

Asset - Indicates the link points to an asset in Cascade that is part of your site.

Selecting this option causes the Destination asset and Anchor fields to display.

URL - Indicates the link point to somewhere on the web

Selecting this option causes the Destination URL field to display.

Destination asset and Anchor

Only displayed when Destination type is set to ‘Asset’.

destination asset and anchor data definition fields

Use the asset selector to indicate the destination of the link. You may optionally indicate a page anchor ID in the Anchor text field.

Inclusion / omission of the preceding ‘#' in the Anchor text field doesn’t matter. The templates will know what your mean either way,

Destination URL

Only displayed when Destination type is set to ‘URL’.

destination url data definition field

Enter the full URL of the destination in the text field.

Need to include an anchor ID? Just add it to the end of the URL, preceded with '#'.

Open link in

open link in data definition field

Same tab/window - Uses the current browser tab/window when navigating to the link destination.

New tab/window - Opens the link destination in a new tab/window.

The choice to open a link in a new tab/window vs. the same tab/window has accessibility implications. In most cases, opening a link in the same window is the correct and appropriate choice. Only in rare cases is it appropriate to open a link in a new tab/window (e.g., to preserve the state of page being linked from).

  • No labels