Results 1 to 3 of 3

Thread: Simple Frames Question

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 2001
    Location
    Cheshire, England
    Posts
    116

    Simple Frames Question

    Before you make any comments, "i am new to html/java and all this" so how can i add a frame to the top and to the left and how do i tell all the pages to do stuff
    --- Counter-Terrorists Win ---

    http://manix.pax3k.co.uk
    www.manix-creations.net

  2. #2
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    There's two ways you can have top and left frames:

    Code:
    
    -----------------
    |   |________|
    |   |                |
    |   |                |
    ------------------
    
    or
    
    -----------------
    |__________|
    |   |                |
    |   |                |
    ------------------
    
    (I know these loop messed up, please forgive me)
    This is how you'd get the first one:

    Code:
    <frameset  cols="20%,*">
        <frame name="right" src="right.html" marginwidth="10" marginheight="10" scrolling="auto" frameborder="0">
        <frameset  rows="19%,*">
            <frame name="top" src="top.html" marginwidth="10" marginheight="10" scrolling="auto" frameborder="0">
            <frame name="bottom" src="bottom.html" marginwidth="10" marginheight="10" scrolling="auto" frameborder="0">
        </frameset>
    </frameset>
    The second one:

    Code:
    <frameset  rows="17%,*">
        <frame name="top" src="top.html" marginwidth="10" marginheight="10" scrolling="auto" frameborder="0">
        <frameset  cols="10%,*">
            <frame name="left" src="left.html" marginwidth="10" marginheight="10" scrolling="auto" frameborder="0">
            <frame name="right" src="right.html" marginwidth="10" marginheight="10" scrolling="auto" frameborder="0">
        </frameset>
    </frameset>
    And I can't answer "how to tell all the pages to do stuff" until I know what stuff is. The best I can think of is:

    Code:
    <a href="http://www.yahoo.com" target="top"></a>
    Will open up a link in the top window.
    My evil laugh has a squeak in it.

    kristopherwilson.com

  3. #3
    Behemoth
    Guest
    I started to compose a more indepth coverage of frames but found a much better tutorial (on Google )
    http://www.netscape.com/assist/net_sites/frames.html

    hope this helps...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width