Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Prevent links from not opening new window.

Quote Reply
Prevent links from not opening new window.
I have edited the links.html file so that it allows me to have people click on links and a new browser opens with a simple target="_link":

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

My problem is some of my advertiser don't like being opened in a new window (they are listed along with my links - text ads). So somehow I need to put a code in. Preferably a check box on my admin page - "Don't open new window" and a code is generated that prevents the link from opening a new window when clicked. Can anyone come up wit a script that does this?

Subject Author Views Date
Thread Prevent links from not opening new window. nathanwright 805 Nov 8, 1999, 11:23 AM
Post Re: Prevent links from not opening new window.
Eliot 781 Nov 8, 1999, 12:06 PM