Linking Using Image Maps. What is an Image Map? An image map is an image in which several areas of an image are linked to different sites The areas of.

Slides:



Advertisements
Similar presentations
© 2002 D & D Enterprises 1 Linking Images For Navigation & Clickable Image Maps.
Advertisements

Anatomy of a Web Page. Parts of a Web Page Title Bar Navigation Tool Bar Location Bar Header Graphic/Image Text Horizontal Rule Links.
Common Tags Always include the … tags Comments placed inside tags HTML documents –HEAD section Info about the document Info in header not generally rendered.
Using HTML Tables Presenting Information & Layout Control.
Session 3 Intermediate HTML Matakuliah: M0114/Web Based Programming Tahun: 2005 Versi: 5.
CIS67 Foundations for Creating Web Pages Professor Al Fichera Rev. October 11, 2010—All HTML code brought to XHTML standards.
CIS 1315 – Web Development for Educators CIS 1315 HTML Tutorial 2: Developing a Web Site.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 8: Image Techniques ©2007 Prosoft Learning Corporation All rights reserved ITD 110 Web Page.
HTML Images. The Image Tag and the Src Attribute  In HTML, images are defined with the tag.  In HTML, images are defined with the tag.  The tag is.
Linking Your Web Pages Together. Links… index.htmunit4.htm Evaluation of web graphics GIF vs. JPEG Web photo album To link the lines in index.htm to the.
Chapter 6 Photoshop and ImageReady: Part II The Web Warrior Guide to Web Design Technologies.
Chapter 5 Creating an Image Map.
Image Maps and Graphics Internet Basics and Far Beyond! Mrs. Wilson.
Image Maps. 2 What it Does n Different parts of the image activate different hyperlinks.
Introduction to Web Site Development Steven Emory Department of Computer Science California State University, Los Angeles Lecture 3: Hyperlinks and Images.
Computing Concepts Advanced HTML: Tables and Forms.
Computer Science 103 Chapter 2 HyperText Markup Language (HTML)
Hyperlinks. Working with Linked Images  A standard practice on the Web is to turn the Web site’s logo into a hypertext link pointing to the home page.
HTML. Creating a Table Attributes: border: indicates the border type of the table Value: 0 (no border), 1, 2, etc. cols: indicates the number of columns.
Web Design I Spring 2009 Kevin Cole Gallaudet University
MIS 208 Fundamentals of Web Publishing Week 6 Performance Editing Graphics Imagemaps.
Chapter 6 The World Wide Web. Web Pages Each page is an interactive multimedia publication It can include: text, graphics, music and videos Pages are.
Colors, Images, & Image Maps. Working with Color Colors are defined in terms of RGB Triplet –Red, Green, Blue –0 to 255 in intensity –(00, 00, 00) is.
Hyperlinks. Linking pages…Hyperlinks 2 Lecture 8  Hyperlink “A clickable HTML element that will direct the web browser to display a different Web page.
HTML Overview Part 4 – Tables 1. HTML Tables  Tables are defined with the tag pair.  A table is divided into rows with tag pairs. o tr stands for "table.
 Scaling an image is resizing the image in a graphic editing software so it is the proper size before adding it to a site.  Important NOTE: If you insert.
1 3/7/05CS120 The Information Era Chapter 4 Basic Web Page Construction TOPICS: More on tables and images.
Images (1) Three most popular formats – Graphics Interchange Format (GIF) – Joint Photographic Experts Group (JPEG) – Portable Network Graphics (PNG) –
Chapter 5: XHTML, Part 2 CIS 275—Web Application Development for Business I.
Chapter 5 Creating an Image Map.
Images & Image Maps 16 th February. Images & Image Maps Web authors can add icons, logos and high impact images to their pages Images enhance web pages.
HTML Project 4 Creating an Image Map.
Dreamweaver Edulaunch Project 1 EQ: What are the key concepts when building the first page of a web site?
_______________________________________________________________________________________________________________ PHP Bible, 2 nd Edition1  Wiley and the.
1 Week Four– Advance HTML 2 Dr. Fadi Safieddine. 2 Lecture Content Basic HTML Tables Using based Feedback form Creating and Using Image Maps Nested.
Site Development Foundations © 2004 ProsoftTraining All rights reserved.
Computer Images Can store color info about each pixel, but makes file BIG Compression for Web 15.
Academic Year, Spring Semester Bilkent University - Faculty of Art, Design and Architecture Department of Communication and Design CS 153 Introduction.
INTRODUCTORY Tutorial 6 Using Links on a Web Page.
INT222 - Internet Fundamentals Shi, Yue (Sunny) Office: T2095 SENECA COLLEGE.
Chapter 2 Designing Web Pages With HTML JavaMethods An Introduction to Object-Oriented Programming Maria Litvin Gary Litvin Copyright © 2003 by Maria Litvin,
CIS234A Lecture 8 Instructor Greg D’Andrea. Review Text Table contains only text, evenly spaced on the Web page in rows and columns uses only standard.
Week 41 Using Dreamweaver, Photoshop, and Fireworks: Graphics Production for the Web Stanford University Continuing Studies CS 38 Mark Branom
Image Map You can define a region on your image as clickable. Add usemap=“mapname” parameter to your image. Add a tag to your html where name of map tag.
Handling Image & Animation Using JavaScript HTML tag to display image: More options:
 You can also divide an image into regions that link to different documents depending on where someone clicks.  This is called an imagemap, and any.
Tables Attributes Image Map.  Tables are defined with the tag.  A table is divided into rows with the tag.  Each row is divided into data cells with.
HTML(Hyper Text Markup Language) ByNaveen. Introduction HTML or Hyper Text Markup Language is the standard markup language Its used to create the web.
WDMD 170 – UW Stevens Point 1 WDMD 170 Internet Languages eLesson: Variables, Functions and Events (NON-Audio version) © Dr. David C. Gibbs WDMD.
1 Mapping Coordinates Find the x- and y- coordinates for the images, relative to the x-axis and y-axis In a coordinate pair, the first number is the x-coordinate.
HTML CS 105. Page Structure HTML elements control the details of how a page gets displayed. Every HTML document has the following basic structure: … …
1 Creating the Home Page. 2 Creating a Table Table attributes  Two rows and two columns  No border  Left-aligned Change the vertical alignment of the.
Slide 1 Graphics (Characteristics 1) Images have various characteristics that affect performance Size (number of pixels) – Large images can be several.
REEM ALMOTIRI Information Technology Department Majmaah University.
`. Lecture Overview HTML Body Elements Linking techniques HyperText references Linking images Linking to locations on a page Linking to a fragment on.
MSc Publishing on the Web Week 4 Image Maps. Aims and Objectives Discover what are image maps To understand the different types of image map To understand.
Part – 3 : HTML 5 SVG Tag. † SVG stands for Scalable Vector Graphics. † SVG is used to define vector-based graphics for the Web. † SVG defines the graphics.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 2 Creating Links.
Chapter 6 Frames and Image Maps Frame sets and frames Image Maps.
Inserting and Working with Images
DW Tutorial 5 Sessions 5.1 & 5.2 REVIEW
Chapter 3 Images.
Image Maps.
Graphics (Characteristics 1)
HTML Image Maps Teacher: Ms. Olifer.
Web Design and Development
Lesson 7: Video, Audio and Image Techniques
Creating an Image Map.
Project 4 Creating an Image Map.
Note this is the page I link to.
Presentation transcript:

Linking Using Image Maps

What is an Image Map? An image map is an image in which several areas of an image are linked to different sites The areas of an image map which are linked are called “hot spots”

The Two Types of Image Maps Client Side Image Maps Coordinate and URL information contained within the HTML script Server Side Image Maps Map information resides in a “.map” file and is processed using a CGI script

Creating a Client Side Image Map STEP ONE: Create the image that will be used. Save it as a “.gif” or “.jpg”

Creating a Client Side Image Map STEP TWO: Identify the intended “hot spots” of the image map and figure coordinates of the spots.

Figuring Coordinates - Rectangle Upper left-most corner of image is coordinate 0,0 Rectangles are measured using 2 coordinates: Upper left-most pixel Lower right-most pixel 29,26 x y 213,77 x y

Figuring Coordinates - Circle Upper left-most corner of image is coordinate 0,0 Rectangles are measured using 3 coordinates: X & Y of the center of the circle Radius of the circle 265,57,40 x y r

Creating a Client Side Image Map STEP THREE: Write the script for the map. …

Syntax of Map Script … is the parent container Attributes: name (uniquely identifies the map; name is required)

Syntax of Map Script tag identifies the different “hot spots” of the map Required Attributes: shape coords href

Syntax of Map Script …

Creating a Client Side Image Map STEP FOUR: Link to your image map using the “usemap” attribute of the tag Notice the “border” attribute. This is set to zero to prevent borders. This is recommended in image maps! Example:

But Wait … There’s More! In addition to client side and server side image maps, we can use tables to create a “poor man’s” image map

Creating a “Poor Man’s” Image Map STEP ONE: Divide the image into at least two separate “sub-images” using a graphics package.

Creating a “Poor Man’s” Image Map STEP TWO: Put each “sub-image” in a table cell and make the image “hot” Use a basic table structure Set the border, cellpadding and cellspacing attributes to “0” (zero) No spaces or page breaks between tags included between … ! Example:

Questions?