Results 1 to 7 of 7

Thread: HTML Frames?

  1. #1
    FLAC
    Join Date
    Apr 2005
    Location
    Queens, New York
    Posts
    1,386

    HTML Frames?

    Anybody goowd with HTML?? I am trying to do my homework here, and I am almost dont but I cant seem to get this to work. Here is the question:

    open yale2.htm:

    Create a frameset containing tree trows of frames. The first frame should be 85 pixels high, the thrid frame should be 30 pixels high, and the middle frame should ocupy the remaining space. The first frame will contain the Web Site header, the second frame will contain informational documents, and the thrid frame will contain the Web Site footer. Note: That the second frame will either display the Web Pages stored in the home.htm, philosph.htm and lessons.htm files, or it will display the frame layots stored in staff2.htm and tours2.htm files.

    I am just having a problem with the "note" part. Can someone take a look at my codind and help me out? Attached are all the documents necessary
    2002 Mitsubishi Galant
    Progress: 90% [-▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓- ->

    Carputer Specs:
    Via M10K
    512mb Ram
    60GB HDD
    Souund Blaster Audigy2 NX
    OPUS ITX PC Case


  2. #2
    FLAC
    Join Date
    Apr 2005
    Location
    Queens, New York
    Posts
    1,386
    Here is where i believe i mite be having the problem:

    <title>The Yale Climbing School</title>
    </head>
    <frameset rows="85, *, 30" bordercolor="brown" frameboder="0" noresize="noresize">
    <frame src="head2.htm" marginheight="0" scrolling="no" />
    <frame src="home.htm" name="docs" marginheight="0" marginwidth="10" />

    <frameset cols="100, *, 100" bordercolor="brown" frameboder="5" noresize="noresize">
    <frame src="staflink.htm" marginheight="5" marginwidth="5" scrolling="no" />
    <frame src="footer.htm" marginheight="5" marginwidth="5" scrolling="no" />
    <frame src="tourlink.htm" marginheight="5" marginwidth="5" scrolling="no" />
    </frameset>

    On the 6th line of that code is where the "second" frame is
    2002 Mitsubishi Galant
    Progress: 90% [-▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓- ->

    Carputer Specs:
    Via M10K
    512mb Ram
    60GB HDD
    Souund Blaster Audigy2 NX
    OPUS ITX PC Case


  3. #3
    Variable Bitrate fromplanetbob's Avatar
    Join Date
    Jan 2005
    Posts
    438
    Quote Originally Posted by Cheekz185
    Anybody goowd with HTML?? I am trying to do my homework here, and I am almost dont but I cant seem to get this to work. Here is the question:

    open yale2.htm:

    Create a frameset containing tree trows of frames. The first frame should be 85 pixels high, the thrid frame should be 30 pixels high, and the middle frame should ocupy the remaining space. The first frame will contain the Web Site header, the second frame will contain informational documents, and the thrid frame will contain the Web Site footer. Note: That the second frame will either display the Web Pages stored in the home.htm, philosph.htm and lessons.htm files, or it will display the frame layots stored in staff2.htm and tours2.htm files.

    I am just having a problem with the "note" part. Can someone take a look at my codind and help me out? Attached are all the documents necessary

    I think the note part means you have to open the the webpages home.htm, philosp.htm and leassons.htm in the second frame, I'd open them with a menu in the first frame, it's something like <script>parent.frame2.document = "home.htm";</script> or in a link it'd be something like <A HREF="home.htm" TARGET="frame2">Click Here</A>

    I'd assume the second form would be better, Teachers hate it when you do stuff more advanced than the lessons (often, I've found because they don't have any real world knowledge of how this stuff works, they only know what is correct by the book.)

  4. #4
    FLAC
    Join Date
    Apr 2005
    Location
    Queens, New York
    Posts
    1,386
    Quote Originally Posted by fromplanetbob
    link it'd be something like <A HREF="home.htm" TARGET="frame2">Click Here</A>

    I'd assume the second form would be better, Teachers hate it when you do stuff more advanced than the lessons (often, I've found because they don't have any real world knowledge of how this stuff works, they only know what is correct by the book.)
    Where would i enter the link?
    2002 Mitsubishi Galant
    Progress: 90% [-▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓- ->

    Carputer Specs:
    Via M10K
    512mb Ram
    60GB HDD
    Souund Blaster Audigy2 NX
    OPUS ITX PC Case


  5. #5
    Newbie Black_Sheep's Avatar
    Join Date
    Feb 2006
    Location
    Coxsackie, NY
    Posts
    48
    I'm wondering what browser and version you are using. I downloaded it and tried the links and couldn't find any problems with your code or logic. All the links worked in IE 6.

    A reference that I use for html (asp, ado, xml, and sql) is www.w3schools.com
    If you make something Idiot proof....

    The world will make a better Idiot.

    CarPC Progresss: Planning [x-------------------]

  6. #6
    FLAC
    Join Date
    Apr 2005
    Location
    Queens, New York
    Posts
    1,386
    Yale2.htm is supposed to display tlist.htm on the left hand side of the page in a frame...
    2002 Mitsubishi Galant
    Progress: 90% [-▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓- ->

    Carputer Specs:
    Via M10K
    512mb Ram
    60GB HDD
    Souund Blaster Audigy2 NX
    OPUS ITX PC Case


  7. #7
    Newbie Black_Sheep's Avatar
    Join Date
    Feb 2006
    Location
    Coxsackie, NY
    Posts
    48
    <frameset rows="85, *, 30" bordercolor="brown" frameborder="1" noresize="noresize">
    <frame src="head2.htm" marginheight="0" scrolling="no" />

    This is inside the center row. It defines a two column frame, first col is 200px, the second is whatever is left. It defines the first frame as "tlist.htm"

    <frameset cols="200, *" bordercolor="brown" frameborder="1" noresize="noresize">
    <frame src="tlist.htm" name="menu" marginheight="0" marginwidth="10" />
    <frame src="home.htm" name="docs" marginheight="0" marginwidth="10" />
    </frameset>


    In the file tlist.htm make sure you change your <a href="*" ></a> to <a href="*" target="docs"></a>

    Also you have your body in tlist.htm defined as:

    <body style="background-image: url(wall2.jpg); color: white; font-family: sans-serif; font-size: 0.8em; font-weight: bold" link="white" vlink="white" alink="white">

    This is giving you white text with white hyperlinks on a white background color. As I can't see your background image you may want to change the background color to something else by using background-color:brown in your style element for the body.

    <frameset cols="100, *, 100" bordercolor="brown" frameborder="5" noresize="noresize">
    <frame src="staflink.htm" marginheight="5" marginwidth="5" scrolling="no" />
    <frame src="footer.htm" marginheight="5" marginwidth="5" scrolling="no" />
    <frame src="tourlink.htm" marginheight="5" marginwidth="5" scrolling="no" />
    </frameset>

    I also found that you misspelled frameborder and set it to "0", when I corrected the spelling all your borders disappeared. So I set the width to "1"
    If you make something Idiot proof....

    The world will make a better Idiot.

    CarPC Progresss: Planning [x-------------------]

Similar Threads

  1. Replies: 2
    Last Post: 11-28-2005, 05:34 AM
  2. Activex in the html page
    By sam81 in forum Map Monkey
    Replies: 0
    Last Post: 07-31-2005, 07:26 AM
  3. Allowing html tags in signatures
    By BiohazrD in forum Mp3car Forum Suggestions/Comments
    Replies: 16
    Last Post: 10-06-2004, 12:39 AM
  4. dvd player drops too many frames
    By streetknight in forum General Hardware Discussion
    Replies: 9
    Last Post: 01-22-2004, 01:13 PM
  5. HTML
    By SkinnyBoy in forum Off Topic
    Replies: 3
    Last Post: 01-21-2002, 06:47 PM

Bookmarks

Posting Permissions

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