Problem targeting to frames

windows

Guest
<frameset rows="135,*"><br />
<frame noresize="yes" scrolling="no" frameborder="no" src=http://www.webdeveloper.com/forum/archive/index.php/"Top.htm"><br />
<frameset cols="15%,*"><br />
<frame frameborder="no" noresize="yes" name="a" src=http://www.webdeveloper.com/forum/archive/index.php/"Contents.htm"><br />
<frame frameborder="no" src=http://www.webdeveloper.com/forum/archive/index.php/"WEBSITE" name="b"><br />
</frameset><br />
</frameset><br />
<br />
Thats a home page i have with 3 frames. Now, on "Contents.htm" page, I have a link that looks like this:<br />
<br />
<a href=http://www.webdeveloper.com/forum/archive/index.php/"pics.htm" target="b">Pictures</a><br />
<br />
Is there a reason that when i click on that link, which appears as the source in frame named "a", pics.htm opens up in a new window as opposed to opening up in frame named "b"? <br />
<br />
Please let me know, Thank you.<!--content-->It looks as if you are trying to nest the frames, well the browser sees a frame in a frame and pops it the link out its a default setting on ie.<!--content-->Ok, I dont really understand that.....do you have any solutions?<!--content-->Well, do you have a link first of all? I would not suggest using frames, they are just sort of a pain in the butt I would escape a frame layout if at all possible and move to css with an iframe for the sake of conveiniance in updating or css and includes, thats probably above your head but I can help you. What sort of look are you going for?<!--content-->I do not have a link, and i have used an iframe before and it did the same thing......it would open pages targeted to the iframe in separate windows which defeats the whole purpose. <br />
<br />
All i want is a page with a top for the logo, the side for the links, and for the links to open the pages in the right side of the page.....and not open separate pages. I do not see why the frames dont work .<br />
<br />
Actually, I will upload an example of the format im looking for.<br />
<br />
<!-- m --><a class="postlink" href="http://ai3rules0.tripod.com/Temp/main.htm">http://ai3rules0.tripod.com/Temp/main.htm</a><!-- m --><!--content-->Ahhhhhh ok I fixed it on my computer, I was wondering what the heck was going on. Ok rmember that the framename and target have to be the same exactly, it is case sencetive. I got mine working after I fixed this. The nesting had nothing to do with it and I was thinking if you nested the top and left the left fixed it would work but you dont have to do that. Just make sure your target is exactly like the frame name Here is my frameset code.<br />
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"><br />
<html><br />
<head><br />
<title>Untitled Document</title><br />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><br />
</head><br />
<br />
<frameset rows="80,*" cols="*" frameborder="NO" border="0" framespacing="0"><br />
<frame src=http://www.webdeveloper.com/forum/archive/index.php/"untitledframe-2.htm" name="topFrame" scrolling="NO" noresize ><br />
<frameset cols="80,*" frameborder="NO" border="0" framespacing="0"><br />
<frame src=http://www.webdeveloper.com/forum/archive/index.php/"untitledframe-3.htm" name="leftFrame" scrolling="NO" noresize><br />
<frame src=http://www.webdeveloper.com/forum/archive/index.php/"untitled-2.htm" name="mainFrame"><br />
</frameset><br />
</frameset><br />
<noframes><body><br />
<br />
</body></noframes><br />
</html><br />
here is my link<br />
<br />
<a href=http://www.webdeveloper.com/forum/archive/index.php/"someurl" target="mainFrame">hi</a><!--content-->yours didn't look like a case sencitiveity problem. But thats what t hrough me off for a few minuits. Try my code though with the proper doc type and layout though. This might work.<!--content-->umm, i know its case sensitive. The page im actually making is all case sensitive. But what happens is, is that when i have a source set to the frame that i wanna target pages to - it opens the pages separately....i tried it without setting a src to the target frame and it worked only once...then once there is a page in that frame, it opens the pages externally!!!<!--content-->Well the code worked fine for me. So I dont know. Could you upload the left side frame please?<!--content-->
 
Back
Top