Welcome! » Log In » Create A New Profile

Linkify with target="_blank" possible?

Posted by Brian 
Brian
Linkify with target="_blank" possible?
June 04, 2008 10:43AM

Is it possibly to set up Linkify to autolink items but at the same time make them open in new windows?

Re: Linkify with target="_blank" possible?
June 04, 2008 10:58AM

can an admin remove this post? I didn't realize my email address would be visible to the world. I have since created a account which I am currently logged into.

Thanks Brian

Re: Linkify with target="_blank" possible?
June 04, 2008 06:24PM

Email has been scrubbed.

What you're asking is not possible without a teensy bit of coding; an AttrTransform. (If you search the forum archives, you might find it). However, I'd like to ask you: is target="_blank" really a good idea? (Most people don't think so. If you want a new tab/window, they'll specifically ask for it.)

Re: Linkify with target="_blank" possible?
June 04, 2008 06:48PM

A valid point, and would agree with it. Ill build up a case and propose not using them to the client.

Re: Linkify with target="_blank" possible?
June 04, 2008 06:55PM
Author:
Your Email:

Subject:

HTML input is enabled. Make sure you escape all HTML and angled brackets with < and >.

Auto-paragraphing is enabled. Double newlines will be converted to paragraphs; for single newlines, use the pre tag.

Allowed tags: a, abbr, acronym, b, blockquote, caption, cite, code, dd, del, dfn, div, dl, dt, em, i, ins, kbd, li, ol, p, pre, s, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, var.

For inputting literal code such as HTML and PHP for display, use CDATA tags to auto-escape your angled brackets, and pre to preserve newlines:

<pre><![CDATA[
Place code here
]]></pre>

Power users, you can hide this notice with:

.htmlpurifier-help {display:none;}

Message: