Click to See Complete Forum and Search --> : HELP please with frames. where do the codes go?


blaquevelvet
09-16-2003, 12:17 PM
Hello! I been studying your lesson on how to do frames and I understand the codes, but where and what page do they go on. Here is where I been confused about for some time. Where do the frame codes go? on what page. I want another page to be seen (loaded) inside one of my pages. What page does the code, go on? my main page? or the page that I want to show up on my main page. Or should there be a separate page containing the codes and if so, do any other codes go on my main page and the page I want to show up on my main page as a frame.

so if my main page is page a.html
and my page I want to show up in page a is page b.

on what page does the frame code go on?
and what link in the frame codes represent the page in which my main page url will go. I think I know, but I'm not quite sure so I would like to know that too.

thank you so much for any help you can provide. I been to many tutorials and yours is the best. I just don't know what page to put the code. I have regular table codes and html on my main page where I want the other page to be able to be seen on (as a frame).
It never said what page to put the code and if there are other codes that must go on the other pages other than the main page.

thanks again!

bv

jalarie
09-16-2003, 01:54 PM
To do frames, you will need to create three separate pages:

&nbsp;the control page has the <frame... codes,
&nbsp;a page for one area of the screen,
&nbsp;a page for the rest of the screen.

You may split the screen in more ways if you wish and you would need a page per section plus one for the controls.

It is possible to use JavaScript to create the second, third, etc. pages on-the-fly from the control page, but you surely don't want to start learning about frames that way!

blaquevelvet
09-17-2003, 06:42 AM
Okay, I understand now but where in the frame code does the control page url go? Does that go in the code?

so in the frame code
I got page A, Page B

is the control page the code that says "main" that's in your frame code in your lesson?

thanks so much for all your help:)

bv

Charles
09-17-2003, 06:59 AM
For the offical skinny of frames see http://www.w3.org/TR/html4/present/frames.html.

jalarie
09-18-2003, 06:40 AM
The URL that you publish for people to use to reach your site is the address of the main page which contains the "<frame..." items. That page has no real content whatsoever. (Insert here a long discussion of the "<noframes>" tag which I'm not going to discuss at this time.) This control page then uses "<frame src=..." items to point to your "A" and "B" pages.