SlideShare une entreprise Scribd logo
1  sur  19
Web Authoring

      Topic 9 –
Navigation And Linking
Objectives
Students should able to:
1   Explain the use of navigation and links
2   Create a horizontal navigation bar to
     link to other pages
        - drop down menu
3   Create a side navigation menu
4   Use Web Authoring tool to create
     frames using the following HTML tags
     - with framesets and frames
Navigation
Navigation bars provide an easy and
visually interesting way for visitors to
navigate between the site's main sections.
Navigation bar provides the following:
1. An easy reference for the contents of your Web site
2. A way for visitors to navigate through multiple levels
in your site structure
3. A more convenient, customized alternative to a
browser's Back and Forward buttons
Type of Navigation
Consider the following to decide what
type of navigation bar:
What level of structural or graphical complexity
do you want your site to have?
What type of Internet access will visitors to your
site be using?
What are your strongest skills or interests in Web
development?
   http://www.adobe.com/support/dreamweaver/programs/navbar_overview/
Type of Navigation
1) Text-only navigation bar
2) Graphical navigation bar with rollovers

3) Animated navigation bar
Frames
One of the most powerful features in Web
design is the support of framed documents.
Frames allow a single browser to
contain multiple pages.
The browser window gets divided into
individual panes, each displaying the
contents of a separate HTML
document.
Frames
Why use Frames?
1. Frames allow you to keep relevant
information always on the screen

2. Easy Navigation

3. Frames helps to save bandwidth
Frameset Document
A governing HTML file known as the
frameset document, defines the layout of
the frames, their properties, and the
filenames of the other HTML documents
displayed within them.
                         4 HTML documents
            Page 1       needed:
                         1 Frameset document
   Page 2       Page 3   3 documents for each
                         of the frame
Frameset Document
In a frameset document, the opening and
closing <FRAMESET>…</FRAMESET>
tag pair replace the <BODY>…</BODY>
tag pair.

<FRAMESET> tag is the primary tag
used to create a framed web page. It
contains information on how to divide the
screen into individual frames.
Frameset Document
The <FRAME> tag is within the
<FRAMESET> tag pair.

The <FRAME> tag tells the browser
which HTML file goes in each frame,
placing them in order from left to right
across the columns and from top to
bottom down the rows.
Attributes of <Frameset>
cols = width of first column, width of
second column, etc
rows = height of first row, height of
second row, etc

frameborder : “yes” or “no”
border : accepts a numeric value
bordercolor
Example
<HTML>
<HEAD><TITLE>Frames</TITLE></HEAD>
<FRAMESET cols = ”35%, 65%”>
      <FRAME src=”left.html” name=”left_frame”>
      <FRAME src=”right.html” name=”right_frame”>
</FRAMESET>
</HTML>
Linking between frames

Any link to other pages causes the page
to be loaded into the respective frames.


Target links to tell the browser where to
open their reference documents.
Linking between frames
Predefined targets:

  Target = “_blank” : open in new window
  Target = “_parent ”: open in place of the
                        parent frameset
  Target = “_self ”: open in current window
  Target = “_top ”: open in the entire browser
  window, replacing the frameset altogether
Base target: target a specific frame by
default
     <BASE target = “frame_name”>
Nested Frame
Example

                 Header.html



          Content.      Welcome.html
           html
Nested Frame
Step 1 – Identify Nested Area

                             Frameset 1:
        Header.html
                             header.html

                             Frameset 2:
 Content.html Welcome.html
                             nested frames


Nested Area is the content.html and
welcome.html
Nested Frame
Step 2 - Create a basic frameset structure
to contain the header.html and nested
frame
<HTML>
     <HEAD><TITLE>Frames</TITLE></HEAD>
     <FRAMESET rows= “ 100, 300” >
          <FRAME src=”header.html” name=”top_frame”>
          <FRAME src=”body.html” name=”body_frame”>
     </FRAMESET>
</HTML>
Nested Frame
Step 3 - Create a frameset to contain the
content.html & welcome.html

    <FRAMESET cols= “200, 600”>
    <FRAME src= “content.html” name= “content”>
    <FRAME src= “welcome.html” name= “main”>
    </FRAMESET>
Nested Frame
<html>
<head><title>Frames</title></head>

<FRAMESET rows= "100, 300">
     <FRAME src=“header.html“ name="top_frame">
     <FRAMESET cols= "200, 600">
          <FRAME src= “content.html" name= "content">
          <FRAME src= “welcome.html" name= "main">
     </FRAMESET>
</FRAMESET>

</html>

Contenu connexe

Tendances

Lesson 3
Lesson 3Lesson 3
Lesson 3
hstryk
 
Dream weaver
Dream weaverDream weaver
Dream weaver
lstar14
 

Tendances (20)

Html tutorial 5
Html tutorial 5Html tutorial 5
Html tutorial 5
 
Create a landing page
Create a landing pageCreate a landing page
Create a landing page
 
Pfnp slides
Pfnp slidesPfnp slides
Pfnp slides
 
Boostrap basics
Boostrap basicsBoostrap basics
Boostrap basics
 
Lesson 3
Lesson 3Lesson 3
Lesson 3
 
Bootstrap Framework
Bootstrap Framework Bootstrap Framework
Bootstrap Framework
 
Dream weaver
Dream weaverDream weaver
Dream weaver
 
Responsive Web Design
Responsive Web DesignResponsive Web Design
Responsive Web Design
 
Html Frames
Html FramesHtml Frames
Html Frames
 
computer language - Html frames
computer language - Html framescomputer language - Html frames
computer language - Html frames
 
Introduction to Dreamweaver
Introduction to DreamweaverIntroduction to Dreamweaver
Introduction to Dreamweaver
 
Html n CSS
Html n CSSHtml n CSS
Html n CSS
 
Frames and its components
Frames and its components Frames and its components
Frames and its components
 
Bootstrap PPT by Mukesh
Bootstrap PPT by MukeshBootstrap PPT by Mukesh
Bootstrap PPT by Mukesh
 
Web development using HTML and CSS
Web development using HTML and CSSWeb development using HTML and CSS
Web development using HTML and CSS
 
Ndim1 2009 Web Design
Ndim1 2009 Web DesignNdim1 2009 Web Design
Ndim1 2009 Web Design
 
Bootstrap webtech presentation - new
Bootstrap   webtech presentation - newBootstrap   webtech presentation - new
Bootstrap webtech presentation - new
 
Media queries A to Z
Media queries A to ZMedia queries A to Z
Media queries A to Z
 
HTML and CSS
HTML and CSSHTML and CSS
HTML and CSS
 
DHTML - Dynamic HTML
DHTML - Dynamic HTMLDHTML - Dynamic HTML
DHTML - Dynamic HTML
 

En vedette

Web topic 4 style in html
Web topic 4  style in htmlWeb topic 4  style in html
Web topic 4 style in html
CK Yang
 
Web topic 8 listings in html
Web topic 8  listings in htmlWeb topic 8  listings in html
Web topic 8 listings in html
CK Yang
 
Web topic 5 text formatting
Web topic 5  text formattingWeb topic 5  text formatting
Web topic 5 text formatting
CK Yang
 
Web topic 10 2 web design basics
Web topic 10 2  web design basicsWeb topic 10 2  web design basics
Web topic 10 2 web design basics
CK Yang
 
Web topic 2 html
Web topic 2  htmlWeb topic 2  html
Web topic 2 html
CK Yang
 
Web topic 12 tables in html
Web topic 12  tables in htmlWeb topic 12  tables in html
Web topic 12 tables in html
CK Yang
 
Web topic 7 html tags for links
Web topic 7  html tags for linksWeb topic 7  html tags for links
Web topic 7 html tags for links
CK Yang
 
Web topic 32 validate web contents
Web topic 32  validate web contentsWeb topic 32  validate web contents
Web topic 32 validate web contents
CK Yang
 
Web topic 29 w3 c page validation
Web topic 29  w3 c page validationWeb topic 29  w3 c page validation
Web topic 29 w3 c page validation
CK Yang
 
Web topic 15 1 basic css layout
Web topic 15 1  basic css layoutWeb topic 15 1  basic css layout
Web topic 15 1 basic css layout
CK Yang
 
Web topic 30 ensure web contents meet
Web topic 30   ensure web contents meetWeb topic 30   ensure web contents meet
Web topic 30 ensure web contents meet
CK Yang
 
Web topic 28. w3 c standards and guidelines
Web topic 28. w3 c standards and guidelinesWeb topic 28. w3 c standards and guidelines
Web topic 28. w3 c standards and guidelines
CK Yang
 
Web topic 23 web accessibility
Web topic 23  web accessibilityWeb topic 23  web accessibility
Web topic 23 web accessibility
CK Yang
 
Web topic 24 usage of web browser
Web topic 24  usage of web browserWeb topic 24  usage of web browser
Web topic 24 usage of web browser
CK Yang
 
Web topic 25 mobile optimized website
Web topic 25  mobile optimized websiteWeb topic 25  mobile optimized website
Web topic 25 mobile optimized website
CK Yang
 
Web topic 14 cascading style sheets
Web topic 14  cascading style sheetsWeb topic 14  cascading style sheets
Web topic 14 cascading style sheets
CK Yang
 
Web topic 29 w3 c page validation
Web topic 29  w3 c page validationWeb topic 29  w3 c page validation
Web topic 29 w3 c page validation
CK Yang
 
Web topic 1 internet
Web topic 1  internetWeb topic 1  internet
Web topic 1 internet
CK Yang
 
Web topic 3 html format tags
Web topic 3  html format tagsWeb topic 3  html format tags
Web topic 3 html format tags
CK Yang
 
Web topic 26 browser compatibilty and security
Web topic 26  browser compatibilty and securityWeb topic 26  browser compatibilty and security
Web topic 26 browser compatibilty and security
CK Yang
 

En vedette (20)

Web topic 4 style in html
Web topic 4  style in htmlWeb topic 4  style in html
Web topic 4 style in html
 
Web topic 8 listings in html
Web topic 8  listings in htmlWeb topic 8  listings in html
Web topic 8 listings in html
 
Web topic 5 text formatting
Web topic 5  text formattingWeb topic 5  text formatting
Web topic 5 text formatting
 
Web topic 10 2 web design basics
Web topic 10 2  web design basicsWeb topic 10 2  web design basics
Web topic 10 2 web design basics
 
Web topic 2 html
Web topic 2  htmlWeb topic 2  html
Web topic 2 html
 
Web topic 12 tables in html
Web topic 12  tables in htmlWeb topic 12  tables in html
Web topic 12 tables in html
 
Web topic 7 html tags for links
Web topic 7  html tags for linksWeb topic 7  html tags for links
Web topic 7 html tags for links
 
Web topic 32 validate web contents
Web topic 32  validate web contentsWeb topic 32  validate web contents
Web topic 32 validate web contents
 
Web topic 29 w3 c page validation
Web topic 29  w3 c page validationWeb topic 29  w3 c page validation
Web topic 29 w3 c page validation
 
Web topic 15 1 basic css layout
Web topic 15 1  basic css layoutWeb topic 15 1  basic css layout
Web topic 15 1 basic css layout
 
Web topic 30 ensure web contents meet
Web topic 30   ensure web contents meetWeb topic 30   ensure web contents meet
Web topic 30 ensure web contents meet
 
Web topic 28. w3 c standards and guidelines
Web topic 28. w3 c standards and guidelinesWeb topic 28. w3 c standards and guidelines
Web topic 28. w3 c standards and guidelines
 
Web topic 23 web accessibility
Web topic 23  web accessibilityWeb topic 23  web accessibility
Web topic 23 web accessibility
 
Web topic 24 usage of web browser
Web topic 24  usage of web browserWeb topic 24  usage of web browser
Web topic 24 usage of web browser
 
Web topic 25 mobile optimized website
Web topic 25  mobile optimized websiteWeb topic 25  mobile optimized website
Web topic 25 mobile optimized website
 
Web topic 14 cascading style sheets
Web topic 14  cascading style sheetsWeb topic 14  cascading style sheets
Web topic 14 cascading style sheets
 
Web topic 29 w3 c page validation
Web topic 29  w3 c page validationWeb topic 29  w3 c page validation
Web topic 29 w3 c page validation
 
Web topic 1 internet
Web topic 1  internetWeb topic 1  internet
Web topic 1 internet
 
Web topic 3 html format tags
Web topic 3  html format tagsWeb topic 3  html format tags
Web topic 3 html format tags
 
Web topic 26 browser compatibilty and security
Web topic 26  browser compatibilty and securityWeb topic 26  browser compatibilty and security
Web topic 26 browser compatibilty and security
 

Similaire à Web topic 9 navigation and link

DEFINE FRAME AND FRAME SET WITH A EXAMPLE
DEFINE FRAME AND FRAME SET WITH A EXAMPLEDEFINE FRAME AND FRAME SET WITH A EXAMPLE
DEFINE FRAME AND FRAME SET WITH A EXAMPLE
Vaibhav Sinha
 
Intermediate Web Design.doc
Intermediate Web Design.docIntermediate Web Design.doc
Intermediate Web Design.doc
butest
 
Intermediate Web Design.doc
Intermediate Web Design.docIntermediate Web Design.doc
Intermediate Web Design.doc
butest
 

Similaire à Web topic 9 navigation and link (20)

Final_Frames.pptx
Final_Frames.pptxFinal_Frames.pptx
Final_Frames.pptx
 
Handout6 html frames
Handout6 html framesHandout6 html frames
Handout6 html frames
 
Html tutorial 5
Html tutorial 5Html tutorial 5
Html tutorial 5
 
Html frames
Html framesHtml frames
Html frames
 
DEFINE FRAME AND FRAME SET WITH A EXAMPLE
DEFINE FRAME AND FRAME SET WITH A EXAMPLEDEFINE FRAME AND FRAME SET WITH A EXAMPLE
DEFINE FRAME AND FRAME SET WITH A EXAMPLE
 
Html5
Html5Html5
Html5
 
Html5
Html5Html5
Html5
 
Frames.ppt
Frames.pptFrames.ppt
Frames.ppt
 
uptu web technology unit 2 html
uptu web technology unit 2 htmluptu web technology unit 2 html
uptu web technology unit 2 html
 
DEFINE FRAME AND FRAME SET WITH EXAMPLE
DEFINE FRAME AND FRAME SET WITH EXAMPLEDEFINE FRAME AND FRAME SET WITH EXAMPLE
DEFINE FRAME AND FRAME SET WITH EXAMPLE
 
5. Frames & Forms.pdf
5. Frames & Forms.pdf5. Frames & Forms.pdf
5. Frames & Forms.pdf
 
HTML-Part2
HTML-Part2HTML-Part2
HTML-Part2
 
CrowdFusion: The Front-End Edition, Part I: Presentation Layer
CrowdFusion: The Front-End Edition, Part I: Presentation LayerCrowdFusion: The Front-End Edition, Part I: Presentation Layer
CrowdFusion: The Front-End Edition, Part I: Presentation Layer
 
CSS Frameworks
CSS FrameworksCSS Frameworks
CSS Frameworks
 
Presentation1
Presentation1Presentation1
Presentation1
 
M02 un10 p01
M02 un10 p01M02 un10 p01
M02 un10 p01
 
Programming the web
Programming the webProgramming the web
Programming the web
 
Intermediate Web Design.doc
Intermediate Web Design.docIntermediate Web Design.doc
Intermediate Web Design.doc
 
Intermediate Web Design.doc
Intermediate Web Design.docIntermediate Web Design.doc
Intermediate Web Design.doc
 
Web technologies part-2
Web technologies part-2Web technologies part-2
Web technologies part-2
 

Plus de CK Yang

Web topic 27 class test
Web topic 27  class testWeb topic 27  class test
Web topic 27 class test
CK Yang
 
Web topic 33 publish websites
Web topic 33  publish websitesWeb topic 33  publish websites
Web topic 33 publish websites
CK Yang
 
Web topic 31 setup remote site
Web topic 31  setup remote siteWeb topic 31  setup remote site
Web topic 31 setup remote site
CK Yang
 
Web topic 22 validation on web forms
Web topic 22  validation on web formsWeb topic 22  validation on web forms
Web topic 22 validation on web forms
CK Yang
 
Web topic 21 pass info via javascript
Web topic 21  pass info via javascriptWeb topic 21  pass info via javascript
Web topic 21 pass info via javascript
CK Yang
 
Web topic 20 2 html forms
Web topic 20 2  html formsWeb topic 20 2  html forms
Web topic 20 2 html forms
CK Yang
 
Web topic 20 1 html forms
Web topic 20 1  html formsWeb topic 20 1  html forms
Web topic 20 1 html forms
CK Yang
 
Web topic 18 conflict resolution in css
Web topic 18  conflict resolution in cssWeb topic 18  conflict resolution in css
Web topic 18 conflict resolution in css
CK Yang
 
Web topic 17 font family in css
Web topic 17  font family in cssWeb topic 17  font family in css
Web topic 17 font family in css
CK Yang
 
Web topic 16 css workflow
Web topic 16  css workflowWeb topic 16  css workflow
Web topic 16 css workflow
CK Yang
 
Web topic 15 2 basic css layout
Web topic 15 2  basic css layoutWeb topic 15 2  basic css layout
Web topic 15 2 basic css layout
CK Yang
 
Web topic 13 html validation tools
Web topic 13  html validation toolsWeb topic 13  html validation tools
Web topic 13 html validation tools
CK Yang
 
Web topic 11 importance of html validation
Web topic 11  importance of html validationWeb topic 11  importance of html validation
Web topic 11 importance of html validation
CK Yang
 

Plus de CK Yang (13)

Web topic 27 class test
Web topic 27  class testWeb topic 27  class test
Web topic 27 class test
 
Web topic 33 publish websites
Web topic 33  publish websitesWeb topic 33  publish websites
Web topic 33 publish websites
 
Web topic 31 setup remote site
Web topic 31  setup remote siteWeb topic 31  setup remote site
Web topic 31 setup remote site
 
Web topic 22 validation on web forms
Web topic 22  validation on web formsWeb topic 22  validation on web forms
Web topic 22 validation on web forms
 
Web topic 21 pass info via javascript
Web topic 21  pass info via javascriptWeb topic 21  pass info via javascript
Web topic 21 pass info via javascript
 
Web topic 20 2 html forms
Web topic 20 2  html formsWeb topic 20 2  html forms
Web topic 20 2 html forms
 
Web topic 20 1 html forms
Web topic 20 1  html formsWeb topic 20 1  html forms
Web topic 20 1 html forms
 
Web topic 18 conflict resolution in css
Web topic 18  conflict resolution in cssWeb topic 18  conflict resolution in css
Web topic 18 conflict resolution in css
 
Web topic 17 font family in css
Web topic 17  font family in cssWeb topic 17  font family in css
Web topic 17 font family in css
 
Web topic 16 css workflow
Web topic 16  css workflowWeb topic 16  css workflow
Web topic 16 css workflow
 
Web topic 15 2 basic css layout
Web topic 15 2  basic css layoutWeb topic 15 2  basic css layout
Web topic 15 2 basic css layout
 
Web topic 13 html validation tools
Web topic 13  html validation toolsWeb topic 13  html validation tools
Web topic 13 html validation tools
 
Web topic 11 importance of html validation
Web topic 11  importance of html validationWeb topic 11  importance of html validation
Web topic 11 importance of html validation
 

Dernier

Dernier (20)

Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 

Web topic 9 navigation and link

  • 1. Web Authoring Topic 9 – Navigation And Linking
  • 2. Objectives Students should able to: 1 Explain the use of navigation and links 2 Create a horizontal navigation bar to link to other pages - drop down menu 3 Create a side navigation menu 4 Use Web Authoring tool to create frames using the following HTML tags - with framesets and frames
  • 3. Navigation Navigation bars provide an easy and visually interesting way for visitors to navigate between the site's main sections. Navigation bar provides the following: 1. An easy reference for the contents of your Web site 2. A way for visitors to navigate through multiple levels in your site structure 3. A more convenient, customized alternative to a browser's Back and Forward buttons
  • 4. Type of Navigation Consider the following to decide what type of navigation bar: What level of structural or graphical complexity do you want your site to have? What type of Internet access will visitors to your site be using? What are your strongest skills or interests in Web development? http://www.adobe.com/support/dreamweaver/programs/navbar_overview/
  • 5. Type of Navigation 1) Text-only navigation bar 2) Graphical navigation bar with rollovers 3) Animated navigation bar
  • 6. Frames One of the most powerful features in Web design is the support of framed documents. Frames allow a single browser to contain multiple pages. The browser window gets divided into individual panes, each displaying the contents of a separate HTML document.
  • 7. Frames Why use Frames? 1. Frames allow you to keep relevant information always on the screen 2. Easy Navigation 3. Frames helps to save bandwidth
  • 8. Frameset Document A governing HTML file known as the frameset document, defines the layout of the frames, their properties, and the filenames of the other HTML documents displayed within them. 4 HTML documents Page 1 needed: 1 Frameset document Page 2 Page 3 3 documents for each of the frame
  • 9. Frameset Document In a frameset document, the opening and closing <FRAMESET>…</FRAMESET> tag pair replace the <BODY>…</BODY> tag pair. <FRAMESET> tag is the primary tag used to create a framed web page. It contains information on how to divide the screen into individual frames.
  • 10. Frameset Document The <FRAME> tag is within the <FRAMESET> tag pair. The <FRAME> tag tells the browser which HTML file goes in each frame, placing them in order from left to right across the columns and from top to bottom down the rows.
  • 11. Attributes of <Frameset> cols = width of first column, width of second column, etc rows = height of first row, height of second row, etc frameborder : “yes” or “no” border : accepts a numeric value bordercolor
  • 12. Example <HTML> <HEAD><TITLE>Frames</TITLE></HEAD> <FRAMESET cols = ”35%, 65%”> <FRAME src=”left.html” name=”left_frame”> <FRAME src=”right.html” name=”right_frame”> </FRAMESET> </HTML>
  • 13. Linking between frames Any link to other pages causes the page to be loaded into the respective frames. Target links to tell the browser where to open their reference documents.
  • 14. Linking between frames Predefined targets: Target = “_blank” : open in new window Target = “_parent ”: open in place of the parent frameset Target = “_self ”: open in current window Target = “_top ”: open in the entire browser window, replacing the frameset altogether Base target: target a specific frame by default <BASE target = “frame_name”>
  • 15. Nested Frame Example Header.html Content. Welcome.html html
  • 16. Nested Frame Step 1 – Identify Nested Area Frameset 1: Header.html header.html Frameset 2: Content.html Welcome.html nested frames Nested Area is the content.html and welcome.html
  • 17. Nested Frame Step 2 - Create a basic frameset structure to contain the header.html and nested frame <HTML> <HEAD><TITLE>Frames</TITLE></HEAD> <FRAMESET rows= “ 100, 300” > <FRAME src=”header.html” name=”top_frame”> <FRAME src=”body.html” name=”body_frame”> </FRAMESET> </HTML>
  • 18. Nested Frame Step 3 - Create a frameset to contain the content.html & welcome.html <FRAMESET cols= “200, 600”> <FRAME src= “content.html” name= “content”> <FRAME src= “welcome.html” name= “main”> </FRAMESET>
  • 19. Nested Frame <html> <head><title>Frames</title></head> <FRAMESET rows= "100, 300"> <FRAME src=“header.html“ name="top_frame"> <FRAMESET cols= "200, 600"> <FRAME src= “content.html" name= "content"> <FRAME src= “welcome.html" name= "main"> </FRAMESET> </FRAMESET> </html>