Gossamer Forum
Home : Products : Links 2.0 : Customization :

jump.cgi + frame

Quote Reply
jump.cgi + frame
hey,

just wondering if it is possible to make all the links that are linked from links2 open in a new window with a small horizontal frame on top... :)

thanx,


Quote Reply
Re: jump.cgi + frame In reply to
Like I suggested to another Links 2.0 user...search this forum for frameset! Wink

Regards,

Eliot Lee
Quote Reply
Re: jump.cgi + frame In reply to
ugH! =/ i found the thread and it just confused the heck out of me... =/ is there a faq compiled on this somewhere? or simple step by step? =]

thanx

Quote Reply
Re: jump.cgi + frame In reply to
Nope...but the codes in that Thread WORK!

Regards,

Eliot Lee
Quote Reply
Re: jump.cgi + frame In reply to
Find the lines (in jump.cgi)

# Now let's send the user to the url..
$goto ?
print "Location: $goto\n\n" :
&error ("Record not found ($in{$db_key})");
}

delete the whole of that and replace it with the following:


# Now let's send the user to the url..

($goto) or &error ("Record not found ($in{$db_key})");
my (%rec) = &get_record ($in{$db_key});

print "Content-type: text/html\n\n";
print qq~<html>
<head><title>$rec{'Title'}</title></head>

<frameset border="0" frameborder="0" rows="*,40">
<frame NAME="body" SRC="$goto" SCROLLING="auto" MARGINWIDTH="0" MARGINHEIGHT="0" target="_parent">
<frame NAME="footer" SRC="topframe.htm" SCROLLING="no" MARGINWIDTH="0" MARGINHEIGHT="0" BORDER="0" NORESIZE target="_parent">
<noframes>
<body></body>
</noframes>
</frameset>
</html>~;
}

Upload it, do a Build All and try it out!
No promises but it has worked for me.

Regards,
Asa