Here is the source code for both the frame and the menubar documents, so that you can see how the links in the menubar work with the frames: Menubar <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE>Menubar</TITLE> </HEAD> <BODY> <A HREF="news_today.html" TARGET="news">Today's News</A> <A HREF="news_yester.html" TARGET="news">Yesterday's News</A> <A HREF="contact.html" TARGET="main">Contact Us</A> <A HREF="main.html" TARGET="_top">Hide Frames</A> </BODY> </HTML> Frames <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE>Frame page</TITLE> </HEAD> <FRAMESET ROWS="25%,75%" FRAMESPACING="5" FRAMEBORDER="yes"> <FRAME SRC="menubar.html" NAME="menu" SCROLLING="No" NORESIZE MARGINWIDTH="150" MARGINHEIGHT="50"> <FRAMESET COLS="300,*"> <FRAME SRC="news.html" NAME="news" SCROLLING="Yes" MARGINWIDTH="0" MARGINHEIGHT="0"> <FRAME SRC="main.html" NAME="main" SCROLLING="Auto" MARGINWIDTH="0" MARGINHEIGHT="0"> </FRAMESET> </FRAMESET> <NOFRAMES> <BODY> <B>Main Content</B><BR><BR> The Oni of Ife and the Seated Scribe were chosen for the naturalistic features. Both pieces are impressive and beautiful. Although these two pieces don't share many similarities, both of their cultures share a few more similarities. The Oni of Ife bears resemblance to the head of King Sesostris III, both are portraits of leaders with serious expressions. Both the African tribes and the Egyptians held high respect for their leaders you can see in these two pieces. Although it may appear as if the Egyptians believed in not only respecting their leaders, but worshipped them. The Egyptians and the tribes of Africa also held animals with high regards as shown in the Leopards from Benin and the innumerable paintings of half animal - half human gods. Animals symbolized power and where also protectors.<BR><BR> </BODY> </NOFRAMES> </HTML> Notice the HTML in the <NOFRAMES> tags is just the html for the main.html document. The menubar frame has no scroll bars and no resizing of the borders. Also notice the marginheight and marginwidth attributes are very large giving it lots of room from the border. The news frame has scroll bars even when you don't need them, but if you drag the border closer it will become active, and the main frame has auto scroll bars. Check out how this code looks when displayed on your browser, by clicking here. © Copyright 2000-2002 by Pepmint.com. All Rights Reserved |
||||||||||
home :: tutorial :: portfolio :: links :: hammies :: guestbook :: contact |