Linked Windows and Frames. Frames and Linked Windows2 Linked Windows n Information pointed to by hyperlink displayed in another window n Target attribute.

Slides:



Advertisements
Similar presentations
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.
Advertisements

Frames.
Multimedia and the World Wide Web HCI 201 Lecture Notes #5A.
Web-based Application Development Lecture 9 February 7, 2006 Anita Raja.
COS 125 Day 25. Agenda  Assignment #7 Due  Final capstone progress report due next class  Assignment #8 Posted Due April 25 One more to go  Exam #5.
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.
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...
Start -> All Programs -> Classes -> Web Expressions -> Dreamweaver.
Create a Web Site with Frames
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.
HTML 2 FRAMES. Frames Intro Frames are a feature supported by Netscape 2.0 (and higher) Internet Explorer 3.0 (and higher) and a few other browsers. Frames.
Using Frames in a Web Site
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.
1 Advanced HTML Joshua S. Simon Collective Technologies.
1 Advanced Frame Options Using NORESIZE  By default, users may resize frames unless you specify the NORESIZE attribute in the tag  Examples:
HTML Essentials Frames and Frame Tags. Introduction A frame used to be an effective design tool Utilized space effectively by subdividing screen One idea:
WHAT are frames? what.html are.htmlframes.html. Intro to Frames HTML frames allow you to display more than 1 HTML document in the same browser window.
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.
CIS67 Foundations for Creating Web Pages Professor Al Fichera Reference for CIS127 and CIS 137.
HTML: Tables & Frames Internet Technology1. HTML: Tables Table tags ► surround the entire table ► header row (text is boldfaced) ► surround each row ►
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.
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 HTML Frames
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.
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.
Using Frames in a Website GMU November 12-13, 2004.
HTML: Tables & Frames Internet Technology.
Tutorial 8 Designing a Web Site with Frames. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Explore the uses of frames.
FRAMES. Frames allow you to divide the page into several rectangular areas and to display a separate document in each rectangle. Each of those rectangles.
1 HTML Frames
Project 10: Exploring the Window Object Essentials for Design JavaScript Level One Michael Brooks.
Week 9: HTML Tables and Frames HNDIT11062 – Web Development.
HTML FRAMES With Frames, you can display more than one Web page in the same browser window.
Frames. Dividing a page, called frameset, into frames, allow the visitor to see more than one page at a time Each frame contains its own Web page, and.
INTRODUCTORY Tutorial 9 Creating Frames. XP New Perspectives on Blended HTML, XHTML, and CSS2 Objectives Decide when to use frames for a Web site Learn.
1 HTML Frames
Microsoft FrontPage 2003 Illustrated Complete Creating a Frames Page.
Web Technology (NCS-504) Prepared By Mr. Abhishek Kesharwani Assistant Professor,UCER Naini,Allahabad.
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)
Introduction to HTML.
Client-Side Internet and Web Programming
Frames 8th March.
FRAMES.
Tutorial 8 Designing a Web Site with Frames
Designing a Web Site with Frames
Client-Side Internet and Web Programming
Tutorial 8 Designing a Web Site with Frames
HTML Frames
New Perspectives on Creating Web Pages with HTML
Presentation transcript:

Linked Windows and Frames

Frames and Linked Windows2 Linked Windows n Information pointed to by hyperlink displayed in another window n Target attribute of anchor-tag target=window_name –If a window with name window_name exists, the document pointed to replaces the current contents of window window_name –If window with name window_name doesn't exist, a new window is opened with that name and filled with new document

Frames and Linked Windows3 Linked Windows n Target attribute of anchor-tag base target=window_name –Each anchor-tag without a target attribute will display the document it points to in window specified by window_name

Frames and Linked Windows4 Examples of Linked Windows target1.html Target Parent Window Open a new window called first_window. Open a new window called second_window. Load some new text into first_window.

Frames and Linked Windows5 Examples of Linked Windows target2.html Target First Window target3.html Target Second Window target4.html Target First Window But this time with new text.

Frames and Linked Windows6 Examples of Linked Windows target5.html Target Parent Window Target Parent Window Open a new window called first_window. Open a new window called second_window. Load some new text into first_window.

Frames and Linked Windows7 Frames n Frame definition document –Contains layout of each frame and names of HTML documents that will fill that frame

Frames and Linked Windows8 Frame Notation n … n … –Replace tag –A frameset is the set of frames defined by the tags in the frame definition document

Frames and Linked Windows9 Frame Notation <html><head> Page Title Page Title </head><frameset> Frame definition goes here </frameset></html>

Frames and Linked Windows10 Frame Notation n n –Width in pixels –Width in percent of total width –Width of as much space as possible

Frames and Linked Windows11 Frame Notation n n n "> –Associates html document with each frame </frameset>

Frames and Linked Windows12 Frame Notation n Attributes of -tag –scrolling="auto" n Default in Netscape n If frame contents take up more space than is available on frame, scrollbars are added –scrolling="yes" –scrolling="no"

Frames and Linked Windows13 Frame Notation n Attributes of -tag –noresize n By default, users can move borders of frames. This locks the frame borders. –marginheight=50 n Margin size in pixels which appears above and below document within a frame –marginwidth=60 n Margin size in pixels which appears on right and left of document within a frame

Frames and Linked Windows14 Frame Notation n … n … –In browser which doesn't support frames, you get only a blank page –This tag gives you content in this case

Frames and Linked Windows15 Frame Notation n … n … <html><head> Page Title Page Title </head><frameset> Frame definition goes here <noframe> Include any text, hyperlinks, and tags you want here </noframe></frameset></html>

Frames and Linked Windows16 Frame Notation </frameset> </frameset>

Frames and Linked Windows17 Frame Notation n n Naming frames – – n n Destination pages to be stored in named frames – – n n Magic target names – –target="_blank" n n Document referenced by -tag is loaded into a new unnamed window

Frames and Linked Windows18 Frame Notation n Magic target names –target="_self" n Document referenced by -tag is loaded into window or frame in which -tag resides –target="_parent" n Document referenced by -tag is loaded into parent of current document –If it has no parent, target="_self" is used –target="_top" n Document referenced by -tag is loaded into full browser window

Frames and Linked Windows19 Inline Frames n Microsoft Internet Explorer <iframe src="file.htm" width=75 height=200 align=right> Your browser doesn’t support inline frames. To view this document correctly, you’ll need a copy of correctly, you’ll need a copy of Internet Explorer. </iframe>