Does anyone know how to make the links in the Category open in a new browser?
Dec 8, 2002, 8:21 PM
User (270 posts)
Dec 8, 2002, 8:21 PM
Post #2 of 2
Views: 2579
I guess by what you mean, is if you have a category called: automobiles for example and all the links under this category, if a visitor clicks on a link you want it to open in a new window. If so edit your link.html template.
<%Title%></a>
Your code may not look the same as above but you will get the idea, just add target="newwin" in your <a href></a> tags.
If you require the categories themselves to open in a new link, find the file site_html_templates and inside that file find routine sub site_html_print_cat inside the code here you will again see another <a href></a> tag, same applies.
Stu2000
- Top 100 forums / GT Links 2.0 websites -
Code:
<a href="<%db_cgi_url%>/detail.cgi?ID=<%ID%>" class="title" target="newwin"> <%Title%></a>
Your code may not look the same as above but you will get the idea, just add target="newwin" in your <a href></a> tags.
If you require the categories themselves to open in a new link, find the file site_html_templates and inside that file find routine sub site_html_print_cat inside the code here you will again see another <a href></a> tag, same applies.
Stu2000
- Top 100 forums / GT Links 2.0 websites -