How Can I do all links go to a new window without using target="_blank" each time I put a link into a blog?

Thanks!!

Comments

cel4145’s picture

add

<base target="_blank">

in the <head> area of your theme. that should make all links open to a new window as the default.

Anonymous’s picture

But I want only links posted into blogs do that.

Boris Mann _Old Blogger.com Account_’s picture

Only way to do this would be to write some sort of filter that parsed [a href] tags and added/replaced a target attribute.

Look at the existing filter code.

OR

If it's just for links, you can use the weblink module, which has the option of whether or not to open a new window.

--
Boris Mann