Data View Open Link in New Window
<a onfocus="OnLink(this)" href="{$url}" target="_blank">
If the onfocus attribute is not used the target will fail.
Note here I am showing $url as an xsl:variable, this would need to be defined first, or just simply insert the url you want. The reason for using a variable here is you may want to concatenate some pulled in values to build query strings or other options.
Comments
Post a Comment