fezzed
02-14-2005, 09:51 PM
I've been using Dreamweaver to design a page with three horizontal frames where the content on top and bottom stays the same and the content in the middle (mainframe) changes.
But then I decided that for two of the pages (catagories) I would like to have the middle frame broken into two parts with the left/center frame a list of bulleted links and with the content showing up and changing on the right center frame.
Unfortunately, I haven't been able to figure out how to do this because everytime I click on one of the bulleted links the whole center frame changes.
Does anyone have any insight into how I can make this work?
dmglouis
02-14-2005, 10:02 PM
In this case, I think you could use an I-frame for this case. For an Iframe insert the following code:
<iframe align="right" frameborder="0" height="20" scrolling="auto" name="content" width="20"><!-- Insert Content Here --></iframe>
So in this code all you need to change are the align, height, scrolling, name, and width attributes. The name attribute is probably the most important because that is what you target frame will be called. So to make content appear in that Iframe, in this case you would put:
<a href="blahblah.html" target="content">
fezzed
02-14-2005, 10:15 PM
Thanks for the quick reply. I've considered using an iframe but not all my content is designed for an iframe, just two pages.
I've been experimenting with a frame-within-a-frame but I haven't been able to correctly select the target frame where the content will show up.
Again, what I want is for the left/center frame to control the content in the right/center frame. Not sure how to do this with dreamweaver but as you might have guessed, I'm pretty new at this and I'm probably missing something basic.
Here's the URL, http://www.zzwei.com/. you can see for yourself what I'm trying to do in the bio section.
dmglouis
02-14-2005, 10:51 PM
Yeah, I think the problem is that you have two frames named "mainFrame". So just go to bioFrameset.htm and rename "mainFrame" to something else (like rightFrame, etc.)
The following is where you should change the code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<frameset rows="*" cols="249,*" framespacing="0" frameborder="NO" border="0">
<frame src="Bioleft.htm" name="leftFrame" scrolling="NO" noresize>
<frame src="bioright.htm" name="mainFrame">
</frameset>
<noframes><body>
</body></noframes>
</html>
fezzed
02-15-2005, 12:00 AM
Thanks, that really did the trick!