[opencms-dev] Target Property for external link

Graeme Kidd coolkidd3 at hotmail.com
Sun Jan 31 01:02:45 CET 2010


Hi all,

 

I am wanting to place an external link on my navigation which I have been
able to do using the External Link content. The only thing I need now is to
make it open in a new window. One thing I noticed is that right clicking on
the file and going to advanced properties there is a "target" property. In
HTML the link element has an attribute called "target" which I set to
"_Blank" in order to make it open a new page.

 

Could I go ahead and set the target property to "_Blank" then in my
navigation JSP read the target property and place it into the target
attribute for the link.

 

My only hesitation is that I am not sure what most of the properties are
used for and would hate to find out a few months later that the target
property is used for something else. If that is indeed the case does anyone
have any idea how I could set the link to target="_Blank".

 

Also out of interest does anyone  know where I can find documentation on
what the properties should be used for?

 

Thanks

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20100131/cedf6e17/attachment.htm>


More information about the opencms-dev mailing list