1
pixelpusher
hyper link target _blank

What is the proper code to get the following code to targeted a blank browser window?

Offer: $200--Bay Area

(bracket)url=http://site.com/client/12/summit/email/01-reg.html ]Offer: $200--Bay Area[/url(bracket)

Thanks

2
zyspec
Re: hyper link target _blank
  • 2012/1/30 0:13

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


XOOPS textsanitizer automatically make the 'url' XoopsCode type link open in a new, blank window. XOOPS adds a rel='external' to the link when it's decoded from the XoopsCode to actual HTML.

EDIT: Technically to get rel='external' to work correctly you would need javascript (or similar) in a standards based way. Recently HTML5 has re-introduced target=_blank and it appears this will be the preferred method moving forward. XOOPS core should consider changing rel='external' back to target='_blank' in HTML links. See http://www.w3.org/TR/html5/browsers.html#valid-browsing-context-name-or-keyword

Login

Who's Online

223 user(s) are online (85 user(s) are browsing Support Forums)


Members: 0


Guests: 223


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits