Open URL in new window

BBCodes simples, BBCode normal, BBCode simple
User avatar
GodSend
Site Admin
Posts: 42
Joined: November 14th, 2012, 7:30 pm

Open URL in new window

January 28th, 2016, 4:47 am

Description
The XHTML 1.0 Strict Standard opens URLs within the actual browser window.
If you want an URL to be opened in a new window and still stay STRICT with your Document type, use this custon BBCode.

Javascript has to be enabled to use as described.
If Javascript is not activated it opens the URL as usual within the original window.


Settings
BBCODE USAGE:

Code: Select all

[exturl]{URL}[/exturl]


HTML REPLACEMENT:

Code: Select all

<a href="{URL}" title="{URL}" onclick="window.open(this.href);return false;">{URL}</a>


HELP LINE:

Code: Select all

[exturl]URL to open in a new window[/exturl]


Demo:
http://phpbbsolutions.com

Return to “Normal BBCodes”