Parameters
The following parameters are optional, but allow you to customize how this widget
will work and affect your page.
altText
Allows you to customize the text that is used in the alt attribute of the rendered
img tag.
Default - External Link
Notes - None
Usage
<param name="altText" value="Link Opens to New Site" />
image
Allows you to customize the image that is shown to your website visitors to visually
identify a link as being for an external website.
Default - /Resources/Widgets/User/WillStrohl/images/external-link.png
Notes - None
Usage
<param name="image" value="/images/edit.gif" />
class
Allows you to specify a CSS class that will be applied to links.
Default - not specified/empty string
Notes - None
Usage
<param name="class" value="myClass" />
newWindow
Allows you to specify that all external links should be opened in a new windows.
Default - false
Notes - None
Usage
<param name="newWindow" value="true" />
selector
Allows you to specify a CSS selector for elements whose links will be processed.
Default - body
Notes - None
Usage
<param name="selector" value="#section1,UL" />
gaCategory
Allows you to specify the name of a category of Google Analytics event to register
when a link is clicked.
Default - Empty String/Not Specified
Notes - None
Usage
<param name="gaCategory" value="Outbound" />
gaAction
If gaCategory is specified, this is the name of the Google Analytics event action
to register.
Default - None
Notes - If this is specified, a GA event with the specified category
and action will be registered with a value equal to the destination URL. If not,
the action itself will be the URL.
Usage
<param name="gaAction" value="Click" />