Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

help tweaking a cgi script to open into new window

Status
Not open for further replies.

tviman

Programmer
Joined
Jul 25, 2002
Messages
2,123
Location
US
The target spec has to be part of the variable value that the script reads. There's always a better way...
 
Search for "a href" in your script. That's where the target needs to go. So if
Code:
<a href=&quot;$line[$i]&quot;>
, then
Code:
<a href=&quot;$line[$i]&quot; target=_new>
.
Sincerely,

Tom Anderson
CEO, Order amid Chaos, Inc.
 
Oh thank you! Worked like a charm. (=
Moira
&quot;Those that stop learning, stop living.&quot;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top