Home › Forums › CSS › Removing Light Box code › Reply To: Removing Light Box code
August 28, 2014 at 12:45 pm
#180956
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.