Gossamer Forum
Home : Products : Gossamer Links : Discussions :

How 2 make links to open in new window ?

Quote Reply
How 2 make links to open in new window ?
Is there an easy way to make all the links open in a new window ?

I Don't see anything in set up etc. that offers this option.

Thanks for the reply.

Quote Reply
Re: How 2 make links to open in new window ? In reply to
in your link.html template, add:

target="blank"

into the href tag for the link.

Cheers,
R.


Quote Reply
Re: How 2 make links to open in new window ? In reply to
Hi Thanks for the reply,

But that doesn't work ------>

in the link.html ----->
<a class="category_links" href="<%db_cgi_url%>/jump.cgi?ID=<%ID%>"><%Title%></a>

changed to------->
<a class="category_links" href="<%db_cgi_url%>/jump.cgi?ID=<%ID%> target="_blank""><%Title%></a>

---------------

Should a target="_blank" be added somewhere in the "template globals - .css file" ?
------>
<style type="text/css">
.category_links {font-weight:bold; font-face:Verdana,Arial MT,Arial,Helvetica; font-size:12;}
</style>

For future releases why not just make an option for links to open in new windows in the main set up.

Quote Reply
Re: How 2 make links to open in new window ? In reply to
try this:

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

cheers,
R.

Quote Reply
Re: [ryel01] How 2 make links to open in new window ? In reply to
Worked great for me.

Thanks!!

-------------
www.mcseguide.com
for all your certification needs
Quote Reply
Re: [EGeorge] How 2 make links to open in new window ? In reply to
Use target="newwin" though for cross-browser compatibility.