The time now is 07/24/08 - 22:34
Log in: Username: Password:
Search forums for:
  

HTML Frames question

Post new topic   Reply to topic
Author Message
Banzai
Guest







PostPosted: 12/06/04 - 20:21    Post subject: HTML Frames question Reply with quote

OK, I have read 3 tutorials but none of them has the logic that makes sense to me can someone clue me in.

I've hated frames for a long time but now feel like I want to give them a shot.

I know the principle behind them, I even know how to create them, what I'm confused on is what is the logic on how they get displayed?

Normal html has the index, the index point to the jpgs. What does a frame page point to? Is there an index?

Basically I have these frames I've made in dreamweaver but when I bring them all up I just see that one frame. What holds them together? Do I still point to a modified version of the index.htm?

I feel like noob and I've been doing this shit for the better part of 5 years.
Back to top
Nahualli
RealPoor Master of Posts
RealPoor Master of Posts


Joined: 11 Oct 2002
Posts: 8461



PostPosted: 12/06/04 - 20:23    Post subject: Reply with quote

Why in god's name would you want to waste your time using frames? Those are so 1998.

-Nah-
Back to top
Are you skilled mage or a hardboiled warrior in search for most suitable guild to join?
Or if you're already guild member ready to share some real PvP experience…
» Join the Guild Wars forum now! «
Banzai
Guest







PostPosted: 12/06/04 - 20:25    Post subject: Reply with quote

I have someone who wants a header and nav bar in non scrolling frames.

I think they are getto but I need to learn this shit anyway.
Back to top
Banzai
Guest







PostPosted: 12/06/04 - 20:32    Post subject: Reply with quote

I think I got it.

http://www.dwfaq.com/Tutorials/Frames/framesets1.asp
Back to top
Nictathan
RealPoor Master of Posts
RealPoor Master of Posts


Joined: 11 Oct 2002
Posts: 5531
Location: here... where I am... not with you



PostPosted: 12/06/04 - 20:49    Post subject: Reply with quote

Setup the frames as you want them, each portion of the page (the main page plus the nav frame or whatever) will each have a seperate HTML file that it will call on to display.
Back to top
Oggabish
Luke Warm
Luke Warm


Joined: 12 Feb 2003
Posts: 201



PostPosted: 12/06/04 - 20:50    Post subject: Reply with quote

You can use iframes for that. It pretty much acts like a frame - you point it to an external HTML document and it will display it. The awesome thing about iframes is that you can embed them into tables in a regular HTML document. And your index page can contain data instead of just references to frame documents.

Other than that... If you're using frames, your index.html will only contain references to frames. All of the information will be stored in the frame documents themselves.

For the example that you posted you could use:

Code:
<!-- Declaring frame set, 2 rows, 1st is 200 pixels tall, second will adjust based on browser window size. -->
<frameset rows="200,*">
   <!-- Source file for the 200px header -->   
   <frame src="header.html" name="header" noresize>
   <!-- Source file for the content -->
   <frame src="content.html" name="content" noresize>
</frameset>
<!-- If the client's browser cannot display frames, this section will be displayed. -->
<noframes>
This site uses frames. However, your browser does not support or is not configured to display frames.
</noframes>


That's assuming you want your header to be 200 pixels in height.

Edit: All of this should go into index.html. Other things should go into linked documents.


Last edited by Oggabish on 12/06/04 - 20:52; edited 1 time in total
Back to top
gotissues68
RealPoor Sensei
RealPoor Sensei


Joined: 21 Aug 2003
Posts: 1866



PostPosted: 12/06/04 - 20:51    Post subject: Reply with quote

Nahualli wrote:
Why in god's name would you want to waste your time using frames? Those are so 1998.

-Nah-


Frames make teh baby jesus cry
Back to top
Display posts from previous:   
Post new topic   Reply to topic
Page 1 of 1

Related topics:
Anarchy Online Fee question
Question about D&D Online Mounts
Is There Still a Market for EQ Accounts? Other questions
Warhammer Online Server Question
rule question
Computer Question
RD Ram question
Final Fantasy XI Sub-classing question
Computer question
Vanguard PvP classes question
question about Venus Flytraps
Question from possible LOTRO gamer
World War II questions
question about computers
halo 2 leak question
Downtime question
Question on Eve Online Exploration
Neopets Neopia question
Math question on conversion factors :\
LOTRo Instances question

 





Warning: fopen(/home/sites/realpoor.com/htdocs/test_cache/HTML_Frames_question_t32950.html) [function.fopen]: failed to open stream: No such file or directory in /home/sites/realpoor.com/htdocs/includes/page_tail.php on line 171

Warning: fwrite(): supplied argument is not a valid stream resource in /home/sites/realpoor.com/htdocs/includes/page_tail.php on line 172

Warning: fclose(): supplied argument is not a valid stream resource in /home/sites/realpoor.com/htdocs/includes/page_tail.php on line 173