Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Frames (again)

Quote Reply
Frames (again)
I am re-visiting the "Frames" issue. I want links to open in a frame, I could'nt find anything I could get to work in the forum so I have replaced

$goto = $rec->{'URL'};

in the jump.pm file with:

($goto) or &error ("Record not found ($in{$db_key})");
my (%rec) = &get_record ($id);
print "Content-type: text/html\n\n";
print qq~<html>
<head><title>$rec{'Title'}</title></head>
<frameset rows="100,*">
<NOFRAMES>
<body>
</body>
</NOFRAMES>
<frame name="top" src="$build_jump_url?ID=$id&display=1" marginwidth="10" marginheight="10" scrolling="no" frameborder="no">
<frame NAME="bottom" SRC="$goto" SCROLLING="auto" MARGINWIDTH="0" MARGINHEIGHT="0" target="_parent">
</FRAMESET>
<FRAMESET>
</FRAMESET>
</frameset>
</html>~;

which I have lifted from a non-sql version of links, but ofcourse I received errors.

If anyone has time to look this over, or has frames working, I would appriciate it.

Thanks
George
Quote Reply
Re: [macbethgr] Frames (again) In reply to
Never mind.... I figured it out.....