Hello all,
My website is using the Links script within a frame. One of the problems I had was the script would open the target web page in the frame window, which it is designed to do. Well I have modified the jump.cgi so that it opens the selected web page in a new browser window. The modification is simple. At the bottom of the script replace the following lines:
# Now let's send the user to the url..
if ($goto) {
print "Location: $goto\n\n";
}
With this:
# Now let's send the user to the url..
if ($goto) {
print "Window-target: new\n";
print "Location: $goto\n\n";
}
I hope this proves useful to someone else.
Regards,
Howard Griffith
Webmaster - U.S.S. Voyager (NCC-74656)
http://www.ncc74656.com
My website is using the Links script within a frame. One of the problems I had was the script would open the target web page in the frame window, which it is designed to do. Well I have modified the jump.cgi so that it opens the selected web page in a new browser window. The modification is simple. At the bottom of the script replace the following lines:
# Now let's send the user to the url..
if ($goto) {
print "Location: $goto\n\n";
}
With this:
# Now let's send the user to the url..
if ($goto) {
print "Window-target: new\n";
print "Location: $goto\n\n";
}
I hope this proves useful to someone else.
Regards,
Howard Griffith
Webmaster - U.S.S. Voyager (NCC-74656)
http://www.ncc74656.com

