Gossamer Forum
Home : Products : Links 2.0 : Customization :

How to I open a link in a new window?

Quote Reply
How to I open a link in a new window?
Does anyone know what I have to change so that links open in a new browser window as opposed to in the current window? Thanks!
Quote Reply
Re: How to I open a link in a new window? In reply to
print "Location: $goto target=_blank\n\n";
Quote Reply
Re: How to I open a link in a new window? In reply to
Edit Links.html and add TARGET="_blank"

Example:

<a class="link" href="<%db_cgi_url%>/jump.cgi?ID=<%ID%>" target="_blank">

Be sure to do the same thing to the "Random" link in each Template.