Avatar

New Window for hyperlink (Todo)

by Alfie ⌂, Vienna, Austria, Thursday, May 31, 2007, 11:28 (6147 days ago) @ msd
edited by Alfie, Sunday, August 12, 2012, 10:26

Dear msd!

Hmm, but it still would be a good idea to make it an option..

IMHO it's impossible to make it an option, because the forum's software generates '(X)HTML 1.0 Strict'.

I'm having pretty much links to other website, and it's annoying to selct' open in new window' all the time, just because I want the forum to stay on.

Modern browsers - even IE7 - allow for opening links in new tabs (you may even set this behaviour as the default).

Isn't there a quick workaround ? Or is it I'm just not seeing it ?

Change the (X)HTML-variant from 'Strict'...

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

...to 'Transitional':

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Change all scripts/templates to generate links of the form:

<a href="http://domain.tdl/foo.htm" target="_blank">bar</a>

Remark: As already said, many people consider websites opening new browser-windows an annoyance.

--
Cheers,
Alfie (Helmut Schütz)
BEBA-Forum (v1.8β)

locked
16896 views

Complete thread:

 RSS Feed of thread