The mgiLink Tag

Tag Behavior

Use the mgiLink tag to create text or graphic links to a specific URL or referral URL (e.g. a dynamic "back" button).


Tag Syntax

The mgiLink tag has no required parameters and three optional parameters. The tag form is:

<mgiLink text="Link Text" image="Image Path" url="URL">

Required Parameters:

  • None.

Optional Parameters:

  • text - The text is the text that is displayed as the link. If neither text nor image is specified, the default text is "Go" when the url parameter is included and the default text is "Back" if the url parameter is not included.
  • image - The image is the image that is displayed as the link. If the image and text parameters are included, the image will be displayed.
  • url - The url is the target page of the link. The default URL is the referral URL.

Tag Behaviors

If you include no parameters, the text "Back" is displayed and linked to a referral URL.

  1. If you only include the text parameter, the text is displayed and linked to the referral URL.
  2. If you only include the image parameter, the image is displayed and linked to the referral URL.
  3. If you include both the text and url parameters, the text is displayed and linked to the specified URL.
  4. If you include both the image and url parameters, the image is displayed and linked to the specified URL.

Example Usage and Output

<mgiLink text="Guide Index" url="../index.html">

The mgiLink tag in this example will display a text link to the index page of the user guide.

Guide Index


Suggested Usage

  • Dynamic "Back" Buttons


[Understanding MGI Menu] [Using MGI Menu] [Referencing MGI Menu]


[MGI Guides Main Menu] [User Guide Main Menu]