Better yet, make it unobtrusive by using rel="external" in the A-tag.
the needed JS:
$(document).ready(function(){
$("a[rel=external]").each(function(){
this.target="_blank";
});
});
Sebastiaan Naafs - van Dijk
http://onlinebase.nl/
On 02/10/2014 04:12 PM, Rob Voyle wrote:
> Thanks Steve - so simple!
>
> On 10 Feb 2014 at 10:02, Steve Milburn wrote:
>
>> Why not put target="_blank" in the <a> tag on the page that is
>> linked to
>> the pdf?
>>
>> Steve
>>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357654
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm