html help: frames

Discussion in 'OT Technology' started by Grifter, Jun 14, 2005.

  1. Grifter

    Grifter Silver Member

    Joined:
    Dec 21, 2000
    Messages:
    3,117
    Likes Received:
    0
    Location:
    the southwest
    i cant remeber how to do it
    i want the top frame to be the navigation and the bottom to be the content and the links change the bottom frame

    Code:
    <frameset rows="175, *" border=0>
    
    <frame name="menu" src="menu.html">
        <frame name="content" src="main.html">
        <noframes><body>
            <!-- Alternative non-framed version -->
    		Your browser does not support frames. Please switch to one that does<br>
    		<a href="www.getfirefox.com"><img src="./images/firefox.gif"</a>
        </body></noframes>
    
    </frameset>
    
    Code:
    <a target="content" href="about.html" 
    
    doesnt give me what i want
     
  2. P07r0457

    P07r0457 New Member

    Joined:
    Sep 20, 2004
    Messages:
    28,491
    Likes Received:
    0
    Location:
    Southern Oregon
    frames??? :ugh:
     
  3. 5Gen_Prelude

    5Gen_Prelude There might not be an "I" in the word "Team", but

    Joined:
    Mar 14, 2000
    Messages:
    14,519
    Likes Received:
    1
    Location:
    Vancouver, BC, CANADA
    I'm not an HTML programmer but why is there so much hate for frames?
     
  4. Keyzs

    Keyzs OT Supporter

    Joined:
    Nov 3, 2003
    Messages:
    814
    Likes Received:
    0
    Location:
    Charlotte, MI
    FRAME.HTML
    Code:
    <frameset rows="175, *" border=0>
    	<frame name="menu" src="menu.html">
    	<frame name="content" src="main.html">
    	<noframes>
    		<body>
    			Your browser does not support frames. Please switch to one that does<br>
    			<a href="www.getfirefox.com"><img src="./images/firefox.gif"></a>
    		</body>
    	</noframes>
    </frameset>
    
    MENU.HTML
    Code:
    <html>
    <body>
    	<a href="http://www.offtopic.com" target="content">Offtopic</a>
    	<br>
    	<a href="http://www.cnn.com" target="content">News</a>
    	<br>
    	<a href="http://www.weather.com" target="content">Weather</a>
    </body>
    </html>
    
    MAIN.HTML
    Code:
    <html>
    <body>
    This is a place holder until you click a link.
    </body>
    </html>
    
     
  5. kingtoad

    kingtoad OT Supporter

    Joined:
    Sep 2, 2003
    Messages:
    55,923
    Likes Received:
    11
    Location:
    Los Angeles
    HTML "programmer". :hsugh:
     
  6. 5Gen_Prelude

    5Gen_Prelude There might not be an "I" in the word "Team", but

    Joined:
    Mar 14, 2000
    Messages:
    14,519
    Likes Received:
    1
    Location:
    Vancouver, BC, CANADA
    Shocking isn't it? Now quit being a dumbass.
     
  7. P07r0457

    P07r0457 New Member

    Joined:
    Sep 20, 2004
    Messages:
    28,491
    Likes Received:
    0
    Location:
    Southern Oregon
    frames is to html what aol is to the internet.


    think about that.
     
  8. 5Gen_Prelude

    5Gen_Prelude There might not be an "I" in the word "Team", but

    Joined:
    Mar 14, 2000
    Messages:
    14,519
    Likes Received:
    1
    Location:
    Vancouver, BC, CANADA
    That doesn't explain why people hate frames.
     
  9. P07r0457

    P07r0457 New Member

    Joined:
    Sep 20, 2004
    Messages:
    28,491
    Likes Received:
    0
    Location:
    Southern Oregon
    SOME (not all) reasons that *I* hate frames:

    Old

    Not elegant

    limits dependence, transition, and co-operation between "frames"

    no longer supported within spec

    Never works in all browsers

    etc.
     
  10. 5Gen_Prelude

    5Gen_Prelude There might not be an "I" in the word "Team", but

    Joined:
    Mar 14, 2000
    Messages:
    14,519
    Likes Received:
    1
    Location:
    Vancouver, BC, CANADA
    :bigthumb: Thanks
     
  11. kingtoad

    kingtoad OT Supporter

    Joined:
    Sep 2, 2003
    Messages:
    55,923
    Likes Received:
    11
    Location:
    Los Angeles
    What the fuck is so god damn shocking about it?
     
  12. Grifter

    Grifter Silver Member

    Joined:
    Dec 21, 2000
    Messages:
    3,117
    Likes Received:
    0
    Location:
    the southwest
    instead of creating a new thread ill just ask here:

    what is this tag and what does it do?
    <o:p></o:p>
     
  13. P07r0457

    P07r0457 New Member

    Joined:
    Sep 20, 2004
    Messages:
    28,491
    Likes Received:
    0
    Location:
    Southern Oregon
    there is no:

    PHP:
    <o:p></o:p>
    tag.
     
  14. Grifter

    Grifter Silver Member

    Joined:
    Dec 21, 2000
    Messages:
    3,117
    Likes Received:
    0
    Location:
    the southwest
    i didnt think so but this guy has it in his code
    (this is a group project website renovation)
    im pretty sure he is using dreamweaver
     
  15. WERUreo

    WERUreo Imua!

    Joined:
    Oct 15, 2003
    Messages:
    566
    Likes Received:
    0
    Location:
    Daytona Beach, Florida
    I believe that type of tag has something to do with XML. Converting MS Word documents to HTML will give you this kind of crap all the time. I just converted a Word doc to HTML, and the opening HTML tag looks like this:

    Code:
    <html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
    
    I looked it up really quick on the W3 site, and it's like declaring XML namespaces or some such. Don't quite understand exactly how that all works, because I don't mess around with XML that much.

    Anyway, looking down in the body of my Word-turned-HTML document, I see a lot of
    Code:
    <o:p></o:p>
    throughout, so I'd be willing to bet that the page your working on was at one time a Word doc.

    Good luck... :)
     
  16. PocoDiablo

    PocoDiablo New Member

    Joined:
    Jul 11, 2004
    Messages:
    4,413
    Likes Received:
    0
    Location:
    NOVA
    By the way, if you use frames no one can ever bookmark a page on your site. They will only be able to bookmark the home page.

    Bad design flaw for site, and is the #1 reason why people do not return to a site (poor navigation.)
     
  17. kingtoad

    kingtoad OT Supporter

    Joined:
    Sep 2, 2003
    Messages:
    55,923
    Likes Received:
    11
    Location:
    Los Angeles
    I havn't made a frames driven website in like.. six years. :noes:
     
  18. Grifter

    Grifter Silver Member

    Joined:
    Dec 21, 2000
    Messages:
    3,117
    Likes Received:
    0
    Location:
    the southwest
    al these <o:p> tags makes me think of :o
    :o
     
  19. kingtoad

    kingtoad OT Supporter

    Joined:
    Sep 2, 2003
    Messages:
    55,923
    Likes Received:
    11
    Location:
    Los Angeles
    It makes me think of
    <:o :p>
     
  20. Zourn

    Zourn 16-bit Ninja OT Supporter

    Joined:
    Apr 3, 2002
    Messages:
    2,354
    Likes Received:
    0
    Location:
    Texas
    AHHHH!!! MAKE THE PAIN GO AWAY!!!! :run:
     

Share This Page