© 2001-2003 Marty Hall, Larry Brown Web core programming 1 HTML Frames.

Slides:



Advertisements
Similar presentations
Frames. What are frames? The ability to divide the browser window into sections that can function independently of one another. Navigation within the.
Advertisements

Frames How to make a page that uses frames. Preview There used to be a time that frames were frowned upon because most browsers did not support them Nowadays.
Frames.
Chapter 11 Creating Framed Layouts Principles of Web Design, 4 th Edition.
Multimedia and the World Wide Web HCI 201 Lecture Notes #5A.
Web-based Application Development Lecture 9 February 7, 2006 Anita Raja.
Frames 1 Lecture HTML: Frames and Miscellaneous Tags.
XP 1 Designing a Web Site with Frames Using Frames to Display Multiple Web Pages Tutorial 5.
Compiled by ackoo Creating Frames. Compiled by ackoo Recall this… Table cell 1 Table cell 2 Table cell 3 Table cell 4.
1 DePaul University SNL 262 Web Page Design Frames! - Chapt 20 Yet Another Way to Divide Up The Screen. Instructor: David A. Lash.
XP Creating Web Pages with HTML, 3e Prepared by: C. Hueckstaedt, Tutorial 5 1 New Perspectives on Creating Web Pages with HTML Tutorial 5: Using Frames.
Tutorial 8 Designing a Web Site with Frames. XP Objectives Explore the uses of frames in a Web site Create a frameset consisting of rows and columns of.
The Power of Tables They aren't just for sitting stuff on anymore...
Create a Web Site with Frames
Frames An overview. Why frames Frames allow you to show several documents in one page. Useful for navigation. Useful for attaching pages from other sites.
Web Technologies Lecture # 5 : HTML Frames. Objectives n Create/control appearance & placement of frames n Control the behavior of hyperlinks on pages.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 9: Frames © 2007 Prosoft Learning Corporation All rights reserved ITD 110 Web Page Design.
Chapter 6 Working with Frames.
 You've probably come into contact with web sites in which the browser window seemingly allowed you to move around between several different pages. 
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 9: HTML Frames.
Frameset. FrameSet With frames, we can display more than one HTML document in the same browser window. Each HTML document is called a frame, and each.
Lecture on: Frames. FRAMES VERSUS TABLES Frames allow part of the page, usually a navigation bar, to stay put.
XP Tutorial 5New Perspectives on HTML, XHTML, and DHTML, Comprehensive 1 Designing a Web Site with Frames Using Frames to Display Multiple Web Pages Tutorial.
XHTML1 Topics Work with the Frameset Document Type Definition (DTD) Create frames Use the target and base attributes Create nested frames Format frames.
XP 1 Tutorial 5 Using Frames in a Web Site. XP 2 Tutorial Objectives  Describe the uses of frames in a Web site  Lay out frames within a browser window.
XP Using Frames in a Web Site Ali Alfayly. XP Tutorial Objectives Create frames for a Web site Control the appearance and placement of frames Control.
FRAMES. With frames, we can display more than one HTML document in the same browser window. Each HTML document is called the same browser window. Each.
1 Web Developer & Design Foundations with XHTML Chapter 5 Key Concepts.
Frame Page A Frame Page does the following: –Defines the size of each frame. –Defines how the window will be broken up – rows or columns. –Specifies which.
Tutorial 8 Designing a Web Site with Frames. XP Objectives Explore the uses of frames in a Web site Create a frameset consisting of rows and columns of.
Chapter 12 FRAMES. HOW FRAMES WORK When you view a framed page in a browser, you are actually looking at several HTML documents at once. The key to making.
Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Project 7: Working with Frames Kelly L.
Working with HTML Frames The Good, The Bad & The Ugly.
CSCE 102 – Chapter 6 (Web Design and Layout) CSCE General Applications Programming Benito Mendoza Benito Mendoza 1 By Benito Mendoza.
Week 11 Creating Framed Layouts Objectives Understand the benefits and drawbacks of frames Understand and use frame syntax Customize frame characteristics.
1 Web Developer Foundations: Using XHTML Chapter 5 Key Concepts.
Introduction to Programming the WWW I CMSC Winter 2003 Lecture 6.
Kingdom of Saudi Arabia Ministry of Higher Education Al-Imam Muhammad Ibn Saud Islamic University College of Computer and Information Sciences Chapter.
Chapter 8 HTML Frames. 2 Principles of Web Design Chapter 8 Objectives Understand the benefits and drawbacks of frames Understand and use frames syntax.
Windows and frames and the anchor tag. Frames Independent, scrollable portions of a Web browser window, with each frame capable of containing its own.
Web111a_chapt05.ppt HTM: Section 5 Frames A section of the browser window capable of displaying an entire web page Display multiple web pages on the screen.
Jozef Goetz, © 2011 Pearson Education Copyright (c) 2007Prentice-Hall. All rights reserved.
Chapter 5: Windows and Frames
CO1552 – Web Application Development Linking Pages - The Basis of the Web.
HTML Hypertext Markup Language. WORKING WITH FRAMES.
Tutorial 8 Designing a Web Site with Frames. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Explore the uses of frames.
Windows and frames and the anchor tag. Frames Independent, scrollable portions of a Web browser window, with each frame capable of containing its own.
1 HTML Frames
CSE 409 – Advanced Internet Technology 1 DISCUSSION OF BASIC HTML TAGS.
Week 9: HTML Tables and Frames HNDIT11062 – Web Development.
HTML Frames. Advantages to Using Frames n flexibility in design n information in different Web pages n remove redundancy. n site easier to manage. n update.
CSCI N241: Fundamentals of Web Design Copyright ©2004  Department of Computer & Information Science Working with Frames.
1 HTML Frames
Web Technology (NCS-504) Prepared By Mr. Abhishek Kesharwani Assistant Professor,UCER Naini,Allahabad.
LINKING WEBPAGES USING HTML HYPERLINKS. Hyperlinks are text strings or images on a webpage which when clicked on, links to another section in the same.
Site Development Foundations © 2004 ProsoftTraining All rights reserved.
Jozef Goetz, © 2011 Pearson Education Copyright (c) 2007Prentice-Hall. All rights reserved.
XHTML Introductory1 Frames Chapter 5. XHTML Introductory2 Objectives In this chapter, you will: Work with the Frameset Document Type Definition (DTD)
Lesson 9. Test 1 How was the test ? Assignment 1 (must complete satisfactorily even if you do not get any marks for it !!!!!!)
Introduction to HTML.
HTML Structure II (Frame)
FRAMES.
Tutorial 8 Designing a Web Site with Frames
Designing a Web Site with Frames
Client-Side Internet and Web Programming
Table of Contents Creating Frames Frameset Tag and its attributes
Table of Contents Creating Frames Frameset Tag and its attributes
Table of Contents Creating Frames Frameset Tag and its attributes
Tutorial 8 Designing a Web Site with Frames
Presentation transcript:

© Marty Hall, Larry Brown Web core programming 1 HTML Frames

HTML Frames2 Agenda Advantages and disadvantages of frames FRAME template Defining rows and cols in a FRAMESET Common FRAME and FRAMESET attributes Nested frames Targeting a document to a named FRAME cell

HTML Frames3 Frame Advantages Certain parts of the interface (e.g., a TOC) are always on the screen Can avoid retyping common sections of multiple Web pages Consistent use across a large site sometimes simplifies user navigation A convenient way to mix text-oriented HTML with Java applets Image maps are more convenient if the map image remains on screen and only the results section changes

HTML Frames4 Frame Disadvantages The meaning of the “Back” and “Forward” buttons can be confusing Poorly designed frames can get the user lost Hard to find real URL of a page you want –Printing problems! Hard to bookmark "configuration" Some very old browsers do not support frames Security –Hackers can insert frame cells into your pages in some circumstances, perhaps stealing information intended for your site

HTML Frames5 Frame Template Document Title

HTML Frames6 FRAMESET Attributes COLS, ROWS –A comma-separated list of pixel values, percentages, and weighted remainders –FRAMESET entries should always specify at least two rows or columns. Netscape problems if not! –Examples......

HTML Frames7 FRAMESET ROWS, Example...

HTML Frames8 FRAMESET Attributes (Continued) FRAMEBORDER –Indicates whether borders will be drawn between frame cells –YES or 1 specifies borders; NO or 0 specifies no border –Can be overridden by FRAMEBORDER settings in individual FRAME entries –Often used in conjunction with BORDER=0 and FRAMESPACING=0 BORDER (Netscape), FRAMESPACING (IE) –Specify the thickness of the border between cells –Apply to outermost FRAMESET only BORDERCOLOR –Sets the color of the border between cell, using either a hex RGB value or color name

HTML Frames9 Frame Border, Examples

HTML Frames10 FRAME: Specifying Content of Frame Cells SRC –URL of the document to place in the frame cell NAME –Supplies destination for TARGET attribute of hypertext links FRAMEBORDER, BORDERCOLOR MARGINWIDTH, MARGINHEIGHT –Specifies the left/right and top/bottom cell margins, respectively SCROLLING –Indicates whether cells should have scrollbars NORESIZE –Disables the ability to resize the frame cells

HTML Frames11 Frame Example 1 Frame Example 1 Your browser does not support frames. Please see non-frames version.

HTML Frames12 Frame Example 1, Result

HTML Frames13 Frame Example 2 Frame Example 2 Your browser does not support frames. Please see nonframes version.

HTML Frames14 Frame Example 2, Result

HTML Frames15 Targeting Frame Cells Specify the cell in which to place a page referenced by a hyperlink The NAME Attribute of FRAME The TARGET Attribute of A HREF

HTML Frames16 Targeting Example

HTML Frames17 Cold-Fusion.html Investing in Cold Fusion This page requires Frames. For a non-Frames version, the introduction.

HTML Frames18 TOC.html Table of Contents Introduction Potential Investing References

HTML Frames19 Targeting Example, Results

HTML Frames20 Predefined Frame Names _blank –Load document into a new browser window _top –Causes the linked document to take up the whole browser window –Document will not be contained in a frame cell _parent –Places document in the immediate FRAMESET parent –Same as _top if no nested frames _self –Place document in current cell –Only necessary to override a BASE entry

HTML Frames21 Summary Frames require a Frameset DOCTYPE for validation A FRAMESET can be divided either into columns or rows –To create both rows and columns use nested FRAMESETs By giving a FRAME a name, documents can be targeted to the named frame cell – There are four predefined frame names –_blank, _top, _parent, and _self

© Marty Hall, Larry Brown Web core programming 22 Questions?