Specify target for <portal:mojoPortalLink>?

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
12/4/2009 3:08:24 PM
Gravatar
Total Posts 114

Specify target for <portal:mojoPortalLink>?

Hey guys,

Any possibility of perhaps adding a target attribute to the <portal:mojoPortalLink> tag?

Best!

Duane

 

12/6/2009 8:44:09 AM
Gravatar
Total Posts 18439

Re: Specify target for <portal:mojoPortalLink>?

Hi Duane,

Sure, I'll add an option for OpenInNewWindow. I'll do it with a javascript onclick like this:

onclick="window.open(this.href,'_blank');return false;"

because the target attribute is not valid in xhtml, not sure if it is/will be valid in html 5.

In any case it is not required that you keep that link, you are free to remove it though I do appreciate it when people keep it there. It is also possible to replace it with a plain old html link

<a href="http://www.mojoportal.com" target="_blank">Powered by mojoPortal</a>

or

<a href="http://www.mojoportal.com" onclick="window.open(this.href,'_blank');return false;">Powered by mojoPortal</a>

Best,

Joe

12/6/2009 1:19:44 PM
Gravatar
Total Posts 114

Re: Specify target for <portal:mojoPortalLink>?

Hey Joe,

Ya know, you're absolutely right on all counts. I'll go ahead and use a link.

Thanks for the reply!

Duane

 

You must sign in to post in the forums. This thread is closed to new posts.