• 0

frames


Question

3 answers to this question

Recommended Posts

  • 0

<pre>

<!-- frames -->

<frameset  rows="50%,*" cols="50%,*">

    <frame name="1" src="1.html" marginwidth="10" marginheight="10" scrolling="auto" frameborder="0">

    <frame name="" src="" marginwidth="10" marginheight="10" scrolling="auto" frameborder="0">

    <frame name="" src="" marginwidth="10" marginheight="10" scrolling="auto" frameborder="0">

    <frame name="" src="" marginwidth="10" marginheight="10" scrolling="auto" frameborder="0">

</frameset>



</pre>

really basic frame set with 4 frames

Link to comment
Share on other sites

  • 0
<pre>

<!-- frames -->

<frameset  rows="50%,*" cols="50%,*">

    <frame name="1" src="1.html" marginwidth="10" marginheight="10" scrolling="auto" frameborder="0">

    <frame name="" src="" marginwidth="10" marginheight="10" scrolling="auto" frameborder="0">

    <frame name="" src="" marginwidth="10" marginheight="10" scrolling="auto" frameborder="0">

    <frame name="" src="" marginwidth="10" marginheight="10" scrolling="auto" frameborder="0">

</frameset>



</pre>

let met go through this with you. With frames- you are basicly opening up "4 frames" in one window. You access and index page and it will open (in this case) 4 windows or frames. so - lets review the code.

<pre>

<!-- frames -->

<frameset  rows="50%,*" cols="50%,*">

    <frame name="1" src="1.html" marginwidth="10" marginheight="10" scrolling="auto" frameborder="0">

    <frame name="2" src="2.html" marginwidth="10" marginheight="10" scrolling="auto" frameborder="0">

    <frame name="3" src="3.html" marginwidth="10" marginheight="10" scrolling="auto" frameborder="0">

    <frame name="4" src="4.html" marginwidth="10" marginheight="10" scrolling="auto" frameborder="0">

</frameset>



</pre>

  • OK -so frame name- so simple- the name of the frame.
  • src = thks is the target - so youll have the index page which the browser dials into - ie yahoo.com/index.html. then youll have frames : src =frame1.html would mean frame one is the content of frame1.html - and so and so on.
  • the rest allow you to customize the site.

i recomend you download dreamweaver- and do some frames in their. as its graphical- you can compare how resizing affects the numbers etc- i hope this helps!

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.