Posted on: 01/15/04 08:18am
By: inspiremin
This is probably incredibly simple, but... Is there a way to have the links on the links page open up in a new window? I would like to keep my site active while allowing viewers to go to a link site.
Thanks in advance for your help (and patience)!
J. Brent
Re:Links open in new window
Posted on: 01/15/04 09:56am
By: Turias
in layout/yourtheme/links/linkdetails.thtml, add target="_blank" to the link tag.
I'll leave it as an excercise to the reader to fix the What's New Block (hint: find the appropriate function in lib-common.php and add the same tag).
Post again if you need further help.
Re:Links open in new window
Posted on: 01/15/04 01:09pm
By: inspiremin
Thanks Turias!!!
I'll take that as a challenge! I do appreciate your help.
Blessings!
inSPIREmin
Re:Links open in new window
Posted on: 01/15/04 01:28pm
By: inspiremin
It may not seem like much to you PHP gods/godesses out there, but I did it!
I actually modified my lib-common.php to open up What's New links in a new window. I didn't even crash the system once. (That for me is a record!!!).
Thanks for your support!
Blessings!
inSPIREmin
Re:Links open in new window
Posted on: 01/18/04 06:30pm
By: Anonymous (DJDevon3)
awesome worked perfectly, might want to mention it's supposed to look like this:
a href="{link_url} target="_blank"
Links open in new window
Posted on: 02/22/04 02:28pm
By: Bananiel
[QUOTE BY= DJDevon3] awesome worked perfectly, might want to mention it's supposed to look like this:
a href="{link_url} target="_blank"[/QUOTE]
i think it should look like this :
<li>
<strong><a href="{link_url}" target="_blank">{link_name}</a></strong> ({link_hits})<br>
{link_description}
</li>