If you'd like to provide updated information and do not have access to directly edit, please contact the site admin; thanks!
To use it, wrap the region where you want the behaviour in the plugin tag. In the region, all links that have the user-defined class will have target="_blank" added to them. The default class is "_", but you can override this using the tag’s class=”“ attribute.
Suggested usage: In the page(s), I wrap the insides of
<body> with the tag and use textile link class to define links. Note the friendly link/class notation
"(class)text":url doesn’t seem to be available until Txp 4.0.5.
Example 1 (Simple):
<txp:jra_ext_link> ... This would be an "(_)external link":http://www.elsewhere.com. ... </txp:jra_ext_link>
<p>This would be an <a href="http://www.elsewhere.com" target="_blank" class="_">external link</a>.</p>
Note how the class tag remains in the output HTML.
Example 2 (custom class):
<txp:jra_ext_link class="bob" > ... This is an "(bob)external link":http://www.elsewhere.com. ... </txp:jra_ext_link>
<p>This is an <a href="http://www.elsewhere.com" target="_blank" class="bob">external link</a>.</p>