Forums

This topic is locked

Trouble with Framesets and Links

Posted 11 Nov 2006 04:27:06
1
has voted
11 Nov 2006 04:27:06 alison grogan posted:
Hello! I am using Dreamweaver MX and am pretty new to it. I'm trying to set up a simple website for a friend and he wants his "news" page set up in a way that I need to use framesets. I have never used them before and am really confused.

I have links to the other pages on the site going across the top of the frameset page. These links are not working. I found another thread about this that seemed to be the same problem, but what the person suggested (to put the tag "_parent" on it) didn't work. Can someone please check this page and help me out?

Thanks so much!
www.drivewayentertainment.com, then click on "news." Try to click my links at the top and they don't work!

Alison

Replies

Replied 11 Nov 2006 05:07:13
11 Nov 2006 05:07:13 LorD ExoskeletoN replied:
hi there, the target link of the news must be :

<a href="news.html" target="mainFrame">NEWS</a>

take a look at the other links ... look at the target of the news maybe set to "self" or "top" or even "topframe, it should be mainframe...

hope this helps...Good luck

More power

<div align=right>
afraid NOT to FAIL for you learn NOTHING

www.nasbikesphilippines.bravehost.com
<img src="www.motorcyclephilippines.com/forums/signaturepics/sigpic14460_2.gif" border=0></div id=right>
Replied 11 Nov 2006 05:28:59
11 Nov 2006 05:28:59 alison grogan replied:
Okay I changed the tags to mainFrame, it just made it so that when you click on the links, it shows them in one of the frames. Do you have any ideas on how to make it switch pages entirely when you click on the link?

Thanks!
Alison
Replied 20 Nov 2006 04:55:42
20 Nov 2006 04:55:42 Alan C replied:
HI,

using frames can get VERY messy. Let's say you have a frameset that consists of three frames , a top banner that goes all the way across the page, then split the rest into two vertically. Turn off the frame borders and scrolling so now it LOOKs like a single page but it's three areas. Let's say you put a menu in the left verical part. That works, but . . . now let's say you want to change the other two frames when each of the menu items is clicked.

What you end up doing is having a separate frameset for each menu item, so that when someone clicks the menu item you can load the whole new frameset into _parent - which I think it what you want.

That's fine when you set it up, but then the customer wants to add a new menu item, oh it's a disaster because you have to create the new frameset then edit all the existing sets to accommodate this new one. I also think that frames make life more difficult to the search engines - that's my reading of the forums etc.

I did a site like this with frames and am still called on to maintain it from time to time. I would like to redo the whole lot with CSS but the client does not want to spend the money.

CSS could do this for you and be easier to maintain, but it's harder to learn in the first place. Using CSS the page could be a template in DW with editable regions, then when you changed the template all the pages would be updated automatically. I know this might sound daunting, but it's worth spending a couple of hours to investigate it.

Reply to this topic