|
 |
03-19-2006, 11:15 PM
|
#1
|
|
FLAC
Join Date: Apr 2005
Location: Queens, New York
Posts: 1,385
|
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
███
Last edited by Cheekz185; 08-08-2006 at 12:06 PM.
|
|
|
|
|
|
Advertisement
|
Sponsored links
|
03-19-2006, 11:16 PM
|
#2
|
|
FLAC
Join Date: Apr 2005
Location: Queens, New York
Posts: 1,385
|
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
███
|
|
|
03-20-2006, 12:14 AM
|
#3
|
|
Variable Bitrate
Join Date: Jan 2005
Posts: 432
|
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.)
|
|
|
03-20-2006, 08:06 AM
|
#4
|
|
FLAC
Join Date: Apr 2005
Location: Queens, New York
Posts: 1,385
|
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
███
|
|
|
03-20-2006, 08:44 AM
|
#5
|
|
Newbie
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-------------------]
|
|
|
03-20-2006, 09:22 AM
|
#6
|
|
FLAC
Join Date: Apr 2005
Location: Queens, New York
Posts: 1,385
|
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
███
|
|
|
03-20-2006, 09:50 AM
|
#7
|
|
Newbie
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-------------------]
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:34 AM.
| |