Chapter 11 Creating Framed Layouts Principles of Web Design, 4 th Edition.

Slides:



Advertisements
Similar presentations
Numbers Treasure Hunt Following each question, click on the answer. If correct, the next page will load with a graphic first – these can be used to check.
Advertisements

Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Introduction to XHTML Programming the World Wide Web Fourth edition.
AP STUDY SESSION 2.
1
Copyright © 2003 Pearson Education, Inc. Slide 1 Computer Systems Organization & Architecture Chapters 8-12 John D. Carpinelli.
Copyright © 2003 Pearson Education, Inc. Slide 7-1 Created by Cheryl M. Hughes The Web Wizards Guide to XML by Cheryl M. Hughes.
David Burdett May 11, 2004 Package Binding for WS CDL.
Microsoft Access 2007 Advanced Level. © Cheltenham Courseware Pty. Ltd. Slide No 2 Forms Customisation.
Prepared by: Workforce Enterprise Services For: The Illinois Department of Commerce and Economic Opportunity Bureau of Workforce Development ENTRY OF EMPLOYER.
Local Customization Chapter 2. Local Customization 2-2 Objectives Customization Considerations Types of Data Elements Location for Locally Defined Data.
Custom Statutory Programs Chapter 3. Customary Statutory Programs and Titles 3-2 Objectives Add Local Statutory Programs Create Customer Application For.
Custom Services and Training Provider Details Chapter 4.
1 Click here to End Presentation Software: Installation and Updates Internet Download CD release NACIS Updates.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Windows XP Project An Introduction to Microsoft Windows XP and Office 2003.
Photo Slideshow Instructions (delete before presenting or this page will show when slideshow loops) 1.Set PowerPoint to work in Outline. View/Normal click.
1.
Break Time Remaining 10:00.
Turing Machines.
Table 12.1: Cash Flows to a Cash and Carry Trading Strategy.
PP Test Review Sections 6-1 to 6-6
User Friendly Price Book Maintenance A Family of Enhancements For iSeries 400 DMAS from Copyright I/O International, 2006, 2007, 2008, 2010 Skip Intro.
XP Tutorial 4New Perspectives on Creating Web Pages with HTML, XHTML, and XML 1 Designing a Web Page with Tables Tutorial 4 Creating a News Page.
1 Tables and Lists. 2 Are Tables still needed? Tables were once used to help structure and style our pages CSS now replaces most of the old uses for tables.
Creating Tables in a Web Site
Vanderbilt Business Objects Users Group 1 Reporting Techniques & Formatting Beginning & Advanced.
EIS Bridge Tool and Staging Tables September 1, 2009 Instructor: Way Poteat Slide: 1.
Bellwork Do the following problem on a ½ sheet of paper and turn in.
INTRODUCTION Lesson 1 – Microsoft Word Word Basics
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Office 2003 Integration Integrating Office 2003 Applications and the World Wide Web.
Exarte Bezoek aan de Mediacampus Bachelor in de grafische en digitale media April 2014.
Sample Service Screenshots Enterprise Cloud Service 11.3.
Copyright © 2012, Elsevier Inc. All rights Reserved. 1 Chapter 7 Modeling Structure with Blocks.
 Copyright I/O International, 2013 Visit us at: A Feature Within from Item Class User Friendly Maintenance  Copyright.
Adding Up In Chunks.
MaK_Full ahead loaded 1 Alarm Page Directory (F11)
1 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt Synthetic.
2004 EBSCO Publishing Presentation on EBSCOadmin.
1 hi at no doifpi me be go we of at be do go hi if me no of pi we Inorder Traversal Inorder traversal. n Visit the left subtree. n Visit the node. n Visit.
Benchmark Series Microsoft Excel 2010 Level 1
Chapter 12 Working with Forms Principles of Web Design, 4 th Edition.
Essential Cell Biology
Clock will move after 1 minute
PSSA Preparation.
Chapter 13 Web Page Design Studio
Physics for Scientists & Engineers, 3rd Edition
Energy Generation in Mitochondria and Chlorplasts
Select a time to count down from the clock above
Copyright Tim Morris/St Stephen's School
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
Chapter 6 Working with Frames.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 9: HTML Frames.
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.
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.
Week 11 Creating Framed Layouts Objectives Understand the benefits and drawbacks of frames Understand and use frame syntax Customize frame characteristics.
Chapter 8 HTML Frames. 2 Principles of Web Design Chapter 8 Objectives Understand the benefits and drawbacks of frames Understand and use frames syntax.
Chapter 5: Windows and 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.
1 HTML Frames
1 HTML Frames
Web Technology (NCS-504) Prepared By Mr. Abhishek Kesharwani Assistant Professor,UCER Naini,Allahabad.
XHTML Introductory1 Frames Chapter 5. XHTML Introductory2 Objectives In this chapter, you will: Work with the Frameset Document Type Definition (DTD)
HTML Frames
Presentation transcript:

Chapter 11 Creating Framed Layouts Principles of Web Design, 4 th Edition

11-2 Objectives Understand the benefits and drawbacks of frames Understand and use frame syntax Customize frame characteristics including scroll bars, borders, and margins Understand and use frame targeting and special targeting names Design content to fit framesets properly Design framesets that accommodate different screen resolutions

Principles of Web Design, 4th Edition11-3 Understanding Frames

Principles of Web Design, 4th Edition11-4 Understanding Frames Frames allow you to divide the browser window into independent windows, each displaying a separate HTML document

Principles of Web Design, 4th Edition11-5

Principles of Web Design, 4th Edition11-6 Frame Benefits Frames allow users to scroll independently in one frame without affecting the contents of an adjoining frame Frames are an ideal way to present large collections of information that are hard to navigate using traditional single-page browser display

Principles of Web Design, 4th Edition11-7

Principles of Web Design, 4th Edition11-8 Frame Drawbacks Inaccurate bookmarking Download overhead Visual and navigation confusion Poor indexing with search engines

Principles of Web Design, 4th Edition11-9 Frame Syntax

Principles of Web Design, 4th Edition11-10 The Element The element is the container for the frameset code The cols and rows attributes let you specify the characteristics of the frameset You can specify a frameset as either cols or rows, but not both

Principles of Web Design, 4th Edition11-11 The Element The element is an empty element The src attribute provides the location of the file that is displayed within the frame

Principles of Web Design, 4th Edition11-12 Two-row frameset: Rows Frameset Syntax

Principles of Web Design, 4th Edition11-13

Principles of Web Design, 4th Edition11-14 Columns Frameset Syntax Two-column frameset:

Principles of Web Design, 4th Edition11-15

Principles of Web Design, 4th Edition11-16 The Tag The tag lets you provide an alternate page for users who do not have a frames-compliant browser You can enclose the contents of a standard Web page, contained in a set of tags, within the element

Principles of Web Design, 4th Edition11-17 Nesting Frames Nesting allows you to break the screen into both row and column frames

Principles of Web Design, 4th Edition11-18 Nested Frameset Syntax Nested frameset:

Principles of Web Design, 4th Edition11-19

Principles of Web Design, 4th Edition11-20 Restricting Resizing By default, the user has the option of resizing your frames by clicking and dragging the frame border In most situations you probably want to restrict resizing, so that the user sees the frameset the way you intended To restrict resizing, add the noresize attribute to the elements in your frameset

Principles of Web Design, 4th Edition11-21

Principles of Web Design, 4th Edition11-22 Customizing Frame Characteristics

Principles of Web Design, 4th Edition11-23 Controlling Scroll Bars By default, scroll bars in frames are set to appear automatically when needed if the content is not accessible within the frame window Remove the scroll bar by adding the scrolling=“no” attribute to the element

Principles of Web Design, 4th Edition11-24

Principles of Web Design, 4th Edition11-25

Principles of Web Design, 4th Edition11-26 Controlling Frame Borders As with tables, you can choose not to display frame borders, or to remove the default border spacing between frames entirely This technique lets you create seamless frames with no visible dividing line (unless a scroll bar pops up) To remove frame borders, add border=“0” to the tag

Principles of Web Design, 4th Edition11-27

Principles of Web Design, 4th Edition11-28 Controlling Frame Margins Two frame attributes let you control the pixel width of both the vertical and horizontal margins in a frame marginwidth lets you control the left and right margin, while marginheight affects the top and bottom margins Setting these attributes to 0 lets you remove the margins entirely, allowing your content to touch the sides of the frame

Principles of Web Design, 4th Edition11-29

Principles of Web Design, 4th Edition11-30 Targeting in Framesets

Principles of Web Design, 4th Edition11-31 Frame Targeting By default, a link loads into the same frame from which it was selected You can change this default behavior and target the destination of a link to another frame in the frameset

Principles of Web Design, 4th Edition11-32

Principles of Web Design, 4th Edition11-33 Frame Targeting (continued) To target from one frame to another, you must perform two tasks: 1.Name your frames using the name attribute in the frame element 2.Target links to display their content in the named frame

Principles of Web Design, 4th Edition11-34 Naming Frames To name a frame, add the name attribute to the element You do not have to name all of the frames within a frameset, only the frames you want to target

Principles of Web Design, 4th Edition11-35 Targeting Named Frames To target the named frame, you must edit the HTML document that contains the elements and provide target attributes that tell the browser which frame displays the content You can use the target attribute in either the or elements

Principles of Web Design, 4th Edition11-36 Targeting Named Frames (continued) Adding the element lets you set the default target frame for all of the links in the document You can override a default base target by using the target attribute in the element article 1

Principles of Web Design, 4th Edition11-37 Using Special Target Names There are four special target names that you can use with the target attribute in either the or elements Notice that all of these special names begin with an underscore –Any other target name that begins with an underscore will be ignored by the browser

Principles of Web Design, 4th Edition11-38

Principles of Web Design, 4th Edition11-39

Principles of Web Design, 4th Edition11-40 Using _blank The _blank special target name lets you load the linked content into a new instance of the browser Notice that the Back button is not available in the new browser window because this is the first page in the new window –Not being able to use Back can be disorienting to users who rely on it for navigation

Principles of Web Design, 4th Edition11-41

Principles of Web Design, 4th Edition11-42 Using _top Using _top as a special target name displays the linked content in a non-framed window using the same instance of the browser The Back button is available if the user wants to return to the previous page –Since the browser maintains only one open window, there is no additional memory overhead or confusion for the user

Principles of Web Design, 4th Edition11-43

Principles of Web Design, 4th Edition11-44 Designing Effective Frames

Principles of Web Design, 4th Edition11-45 Designing Effective Frames Build your pages to fit within the frames in which they will display, and accommodate different screen resolutions that can affect the size of the frame within the frameset Decide whether you will use fixed or relative framesets You can also choose to mix these two measurement types within a single frameset, which can be the best way to handle multiple screen resolutions

Principles of Web Design, 4th Edition11-46 Mixing Fixed and Variable Frames The following sample framesets demonstrate mixing a fixed frame and a variable frame to accommodate different screen resolutions

Principles of Web Design, 4th Edition11-47

Principles of Web Design, 4th Edition11-48

Principles of Web Design, 4th Edition11-49

Principles of Web Design, 4th Edition11-50 Summary Use frames judiciously Make sure that your content demands or benefits from the use of frames Build simple framesets with no more than two or three frames Be aware of the limitations of frames

Principles of Web Design, 4th Edition11-51 Summary (continued) Frames are not the best choice for the top- level page of your Web site Use the element to contain alternate information about your Web site

Principles of Web Design, 4th Edition11-52 Summary (continued) Use the special target names to solve design problems, choosing _top over _blank whenever possible Build your framesets using a combination of fixed and variable frame widths Test your work for compatibility across browsers