How to have link to url field open link in new window?

2 posts by 2 authors in: Forums > CMS Builder
Last Post: March 10, 2010   (RSS)

Re: [weblinks] How to have link to url field open link in new window?

By kkegans - March 10, 2010

What you are looking for is :

[font "Courier New"]<a href="document.html" target="_blank">external link</a>[/#000000]

[font "Courier New"]Note the underscore in the target "_blank".[/#000000]

[font "Courier New"]This method us depreciated in the HTML 4.0 specification, but for all intents is still usable today.[/#000000]

The HTML 4.0 specification took away the target[/#990000] attribute, but it added another attribute: rel[/#990000]. This attribute is intended to specify the relationship between the document that contains the link, and the target of the link.Using the standards compliant method requires the use of Javasript to actually open the new window.
CMSB Rocks!
Thanks,
Kurt