Opened 9 years ago

Closed 9 years ago

#373 closed enhancement (invalid)

Add Link and add '_blank' if of a particular domain

Reported by: anonymous Owned by: gogo
Priority: lowest Milestone:
Component: Xinha Core Version:
Severity: normal Keywords: link
Cc:

Description

Hi,

If I add www.abc.com as a link or even www.abc.com/folder/page.asp, I want the pages to open in a new window. However if it's not from the domain www.abc.com, I want it to open in a new page i.e. '_blank'

If anyone can help - please do!

Change History (1)

comment:1 Changed 9 years ago by niko

  • Priority changed from normal to lowest
  • Resolution set to invalid
  • Severity changed from major to enhancement
  • Status changed from new to closed

you can select the target in the insert-link dialog.

If you want to force this, i would suggest doing a serverside php/asp parsing and replacing the links OR it might be even doable using JavaScript? on the client-side.

if you need more help please post in the forum.

Note: See TracTickets for help on using tickets.