Click to See Complete Forum and Search --> : how to do this with frames?


pcs800
07-10-2003, 02:53 PM
how would i create a link that takes a user to a site that uses frames, and display a certain page in a certain frame?

for example:
a user see's one of my doorway pages on a search engine, and clicks the following link.
"click here for coffee cups" takes a user to www.whateversite.com and displays coffecups.htm in the content frame.

Is this possible?

Charles
07-10-2003, 03:04 PM
Simply make a new frameset and link to that.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Coffey Cups</title>
<frameset rows="*,*">
<frame src="nav.htm" name="navigation">
<frame src="coffecups.htm" name="main">
<noframes><a href="noframes.html">A frame free version of this site is also available.</a></noframes>
</frameset>

pcs800
07-10-2003, 03:13 PM
a new frameset? I already have the site built and running. It is an online shopping mall. And I would like the doorway pages to forward the user to my site and load what they were searching for into the content frame.

Charles
07-10-2003, 03:36 PM
You misunderstand. You save your existing frameset with a new name and then just change the one filename.

pcs800
07-20-2003, 10:29 PM
I am still trying to do this. I do not understand what you are trying to say with the "create a new frameset" thing.
I have index.htm which has 3 frames.....
menu
mid
content

I always want the top two to display the same thing (this i can handle)
But how do I specify what the content frame shows by the link the user clicked on?

Like normally a button or something is linked to http://www.blahblah.com

Is there a simple way to link like...
http:/www.blahblah.com content frame=blah5.htm
??

Charles
07-21-2003, 05:32 AM
Create a new frameset and call it blah5.html that looks like

menu
mid
new content

And then link to it thusly:

<a href="http:/www.blahblah.com/blah5.html">

pcs800
07-21-2003, 06:14 AM
so bassically, i have to create a new page (frameset) for every link that i want to display a different page in the content frame?

I find it hard to believe that it is not possible with just the link attributes.

Thanks for the post, I guess I'll try the java forum.