* New post Constructor Destructor and Inheritance& Array , Virtual base class in c++ language

Monday, 22 April 2013

0 Frames

Introduction to frames


The browser screen does not split into seperate section , showing different but related information .The html tags that divide a browser screen into two or more html recognizable unique regions is the <FRAMESET>....</FRAMESET> tags . Each unique region is called frame . Each frame can be loaded with a different document and hence , allow multiple html document to be seen concurrently. The html frame is a powerful features that enables a web page to be broken into different unique section that , although related , operate independently of each other.


  • The <frameset> tag = The splitting of a browser screen into frames  is accomplish with the <frameset >and  </frameset> tags embedded into the html document . The< frameset >...........</frameset > tags require one of the following two attributes depending on whether the screen has to be divided into rows or columns.

   


                                              
Rows
This attribute is used to divide the screen into multiple rows . It can be set equal to a list of values . Depending on the required size of each row. The value can be :
No of pixels
Expressed as a percentage of the screen resolution
The symbol *, that indicates the remaining space.
Column
This attribute is used to divide the screen into multiple columns . It can be set equal to a list of values . Depending on the required size of each column. The value can be :
No of pixels
Expressed as a percentage of the screen resolution
The symbol *, that indicates the remaining space.




Example:

<frameset rows = "33%,33%,33%">
<frameset cols = "50%,50%">
</frameset>
<frameset cols ="50%,50%">
</frameset>
<frame>


  • <The frame> tag = Once the screen is divided into rows and columns.Each unique section defined can be loaded with different html document . This attribute such as:

SRC = “url”
Indicates the url of the document to be loaded into the frame .
Marginheight = “n”
Specifies the amount of white space to be left at the top and bottom of the frame .
Marginwidth =”n”
Specifies the amount of white space to be left along the sides of the frame .
Name = “name “
Gives the frame a unique name so it can be targeted by other document . The name gives must begin with an alphanumeric character.
Scrolling
Controls the appearance of horizontal and vertical scrollbars in a frame . This takes the value yes/no/auto.
Noresize
Disables the frame resizing capability.


Example:

<html>
<frameset rows ="20%,*">
<frame src ="HEADING.HTML" name="asd"> 


 <frameset cols="20%,80%">

 <frame src="menu.html" name="pop">
 <frame src="business.html" name="p">
 </frameset>
</FRAMESET>
</html>



                                              

0 comments:

Post a Comment

 

PROGRAMMINGqueen Copyright © 2011 - |- Template created by O Pregador - |- Powered by Blogger Templates

Blogger Widgets