Left frame on Mac machine taking over the whole screen

Howdy,

I have a framed page.  With the frame on the left, when I click on a link in that frame it brings up another html page in that frame.  What happens when it does that is that it takes over the entire page and wipes out the frame on the right.

What would cause this?

Would the width=100% if written more than once in the left frame page cause this? Would the error be in the framset tag or in the table or td tags?

Michael
morya1Asked:
Who is Participating?
 
jbirkConnect With a Mentor Commented:
OK, in IE 5.0 go to the page you want to see.  Click on the file menu "View", select "source" second from the bottom.  This will give you the main frameset.  Looking like this perhaps:
<HTML>
<HEAD>
<TITLE>the title</TITLE>
</HEAD>
<FRAMESET rows="125,*" border=0>
<FRAME src="title.htm" name="title" NORESIZE>
<FRAMESET COLS="187,*" border=0>
<FRAME src="leftside.htm" name="left" NORESIZE>
<FRAME src="main.htm" name="main">
</FRAMESET>
</FRAMESET>
</HTML>

If the frame "main" contains a frameset as well.  Click on the location bar of the browser.  Delete just the file name from the string there (leaving the rest of the url) and type the name of the file which contains the nested frameset.  In this case "main.htm".  Then hit enter.  This will load the sub page frameset into the page without the other frames.  Then proceed to click the menu "View" and then "source".  You can thus get to all the nested framesets.

One possible stopper of this would be a little bit of javascript code which causes the page of the nested frameset to reopen the original frameset.  If this is happening, just prepend the string "view-source:" to the url of the nested frameset and it will open notepad with the source.

Hopefully this is clear enough.  If you are still having trouble please describe exactly what is happening.


-Josh
0
 
xabiCommented:
You must create the frameset as you want but you must give names to all the frames:

ie:

<html>
<head>
<frameset cols="160,*"  frameborder="0" framespacing="0" border="0">
  <frame border="0" frameborder="0" framespacing="0" marginheight="0" marginwidth="0" scrolling="no" src="menu.htm" name="menu">
  <frame border="0" frameborder="0" framespacing="0" marginheight="0" marginwidth="0" scrolling="auto" src="main.htm" name="main">
</frameset>
</head>
</html>

As you can see i have two frames, 1st called "menu" and 2nd called "main".

Now when i want a page to be loaded of right frame i must create the links on "menu" this way:

<a href="foo.htm" target="main">Press here</a>

That's all

xabi
0
 
netzdracheCommented:
1. Check if you have resize=no in all your frame definitions (goes inside the frame tag itself, along with border, scrolling etc). Name your frames (you need these names for the target below)

2. use the right target in your <a href="..."> tags. Do not use _top, _parent, or _new as frame names, these are reserved words: _top and _parent will cause the linked document to fill the entire window (wiping out the frameset), _new will open a new window.

Using a target that has not been defined in the frameset will also open a new window, so check your spelling of names and targets if a new windo keeps popping up you didn't intend to do so.

feel free to ask if I left out anything -

0
Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

 
morya1Author Commented:
I will accept this answer however, I have a related question to ask:

If I am looking at the source of a web page that has frames how do I see the source that has the frameset tags/code on it?
0
 
jbirkCommented:
In netscape click the menu view -> page source.  This will usually show the top frame set.  If it doesn't, reload the page and do it again before clicking on any of the frames.  If you're looking for the source of a nested frameset, you can look at it's parent, find out the url of it, and type it in the location bar directly to look at that code (and then choose view page source...).  You can also always check your cache as a last resort :)


-Josh
0
 
netzdracheCommented:
nothing to add there :-)

0
 
netzdracheCommented:
well, no, still something to add: in Netscape, you can always type

view-source:my.domain.com/myfile.html

into the address field to access the source code directly. Works as well with .js and .css files. Not in IE, though.

kind regards
0
 
morya1Author Commented:
Thank you.

Some of this is clear and some not.  What I'm looking to see is the complete frameset code that tells where each frame is placed.  If I understand correctly the idea that Josh gave shows me only the top frameset.

Is there a way I can see all the frameset tags that make up the page?


Michael
0
 
jbirkCommented:
I mentioned how you can view the nested frames as well.  You just have to look at the top frame, check all the file names for the frames within that top frame.  Then type those file names directly into the location bar.  Then do it again and you can see the source of that frameset...  or use what netzdrache said to view the source "view-source:urltopage"...

Unfortunately when there are nested frames that span multiple documents, you can't view all of them at once unless you open their source in seperate files all at the same time...

-Josh
0
 
morya1Author Commented:
What I am looking for is the source for the frameset tags.  I would like to see all the frameset tags that tell how a page of frames is laid out.

Can that be done?

Michael
0
 
jbirkCommented:
Yes, just refer to comments above on how to do this.  Pick one of the methods.  If there is a method you don't understand, and would like it explained a little better, just ask and someone here can help.  Also please specify which browser you are using to do this.

-Josh
0
 
morya1Author Commented:
I am using ie 5.0 primarily.  I'm still not seeing the frameset tags.  I guess I need a clearer explanation.

Thank you.
0
 
morya1Author Commented:
Thank you!
0
 
morya1Author Commented:
Thank you!
0
 
jbirkCommented:
Welcome!  Glad you were finally able to get what you needed.

-Josh
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.