Presentation is loading. Please wait.

Presentation is loading. Please wait.

Frames © 2008 D. J. Foreman.

Similar presentations


Presentation on theme: "Frames © 2008 D. J. Foreman."— Presentation transcript:

1 Frames © 2008 D. J. Foreman

2 Purposes View related pages together Navigation aid Consistency
Note: frames are not in “strict” HTML

3 Frame Definition Page Defines the panel layout Defines the panel sizes
Defines borders and sliders Title permitted NOT for text or other HTML elements!!!

4 Basic Syntax <title>……..</title> <frameset options>
<frame src="file1.html"> <frame src="file2.html"> </frameset>

5 Frameset Attributes Specify layout within a frameset
Cols="20%,40%,*" pixels or % Rows="*,80%,*" Border= size in pixels Frameborder='yes/no' Bordercolor=

6 Frame Attributes Bordercolor= Frameborder='yes/no'
Marginheight=, marginwidth= Name= Noresize Scrolling='yes/no' Src=any URL

7 Nested definitions <html> <title>……..</title>
<frameset rows="*,*,*"> <frame src="file1.html" name='r1'> <frameset cols="*,*"> <frame src="file-a.html" name='r2col1'> <frame src="file-b.html" name='r2col2'> </frameset> <frame src="file2.html" name='r3'> </html> Row 1 Row 2 Row 3

8 Result of previous page
file1 file-a file-b file2


Download ppt "Frames © 2008 D. J. Foreman."

Similar presentations


Ads by Google