Using a link element

When using a link element, you select an item or URL to create a link to, and the define how the link will be displayed.

To use a link element, you must first add a link element to a site, site area, content item or authoring template, or create a link component.
  1. Select one of the following Link types:
    Option Description
    Web content element You select this to a create a link to a content item, file resource component, image component or a link component. Click Web content element to select the content item, file resource component, image component or link component to create a link to.
    External URL You select this to create a link to an external URL. Enter the URL in the External URL field.
  2. Select a link display type:
    Option Description
    Text You select this to display the link as text.
    • Use name of linked item: You select this to use the title of the item being linked to as the link text.
    • Enter name: You select this to enter the text to use as the link text.
    Image Component You select this to display the link as an image. Click Select Image to select an image component to use as the link image.
  3. Enter a description of the link by selecting either:
    Option Description
    Use description of linked item You select this to use the description of the item being linked to as the link description.
    Enter description You select this to enter the text to use as the link description.
  4. Enter an optional query string. You can use a query string entered here as a search parameter in a menu element. For example, you could enter this query string: myquery=shoes You can then specify "myquery" as a search parameter in a menu element.
  5. Select a link target:
    Option Description
    None You select this to specify no target parameter.
    New Window You select this to open the link in a new browser window.
    Parent You select this to open the link in the parent frameset of the frame the link appears in, replacing the entire frameset.
    Self You select this to open the link in the current frame, replacing the content in that frame.
    Top You select this to open the link in the current browser window, replacing all frames.
    Name You select this to open the link in a specific frame. You enter the name of the frame in the Target name field.
  6. Enter additional attributes, such as style sheet classes or javascript. These are used as if entering an attribute in a "<a href=" "></a>" tag. For example:
    • To create the link tag , <a class="classname" href="http://www.ibm.com"></a> you would enter class="classname" in the Additional attributes field.
    • To create the link tag , <a name="homepage" class="classname" href="http://www.ibm.com"></a> you would enter name="homepage" class="classname" in the Additional attributes field.
  7. Select When managing references, do not allow this link to be cleared to prevent a link element from being cleared when managing references. A user will only be able to replace a link.