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
Printable View
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
There's two ways you can have top and left frames:
This is how you'd get the first one:Code:
-----------------
| |________|
| | |
| | |
------------------
or
-----------------
|__________|
| | |
| | |
------------------
(I know these loop messed up, please forgive me)
The second 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>
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:<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>
Will open up a link in the top window.Code:<a href="http://www.yahoo.com" target="top"></a>
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...