Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Removing Light Box code Reply To: Removing Light Box code

#180956
Paulie_D
Member

Hmm…consensus (after a swift Google is not to use ‘target’) as it”s usually left to the browser to decide unless specifically differently by the individual user.

JS seems to offer a solution

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

but I dislike inline JS.

I’d prefer to see this abstracted away into a separate JS/JQ script.

See here – http://www.copterlabs.com/blog/easily-create-external-links-without-the-target-attribute/

It’s pretty simple

Alternatively, you seem to be saying that visitors will be permitted access to the documents so you could just leave it and ignore your discomfort because you don’t like the effect.