Image Maps.

Slides:



Advertisements
Similar presentations
CIS67 Foundations for Creating Web Pages Professor Al Fichera Rev. October 11, 2010—All HTML code brought to XHTML standards.
Advertisements

Developing a Web Site: Links Using a link is a quicker way to access information at the bottom of a Web page than scrolling down A user can select a link.
Image Maps and Graphics Internet Basics and Far Beyond! Mrs. Wilson.
LIST- HYPERLINK- IMAGES
Image Maps. 2 What it Does n Different parts of the image activate different hyperlinks.
Hyperlinks Types of Links Link to the places in the same page Link to pages within the same site Link to the system –Caution: Will not work without.
Introduction to Web Site Development Steven Emory Department of Computer Science California State University, Los Angeles Lecture 3: Hyperlinks and Images.
COS 125 DAY 16. Agenda Second Capstone Progress Report Due March 23 (next class ) Assignment #4 assigned –Due Tuesday March 23 Exam #3 will March 26 –Castro.
COS 125 DAY 15. Agenda Second Capstone Progress Report Due Mar 24 Assignment #4 assigned –Due Thursday, March 24 Exam #3 will be on March 24 –Castro Chaps.
Computer Science 103 Chapter 2 HyperText Markup Language (HTML)
HTML Tags. Objectives Know the commonly used HTML tags Create a simple webpage using the HTML tags that will be discussed.
HTML B OOT C AMP Chapter 6 Links and Webs Kirkwood Continuing Education © Copyright 2015, Fred McClurg All Rights Reserved.
Web Design I Spring 2009 Kevin Cole Gallaudet University
© 2004, Robert K. Moniot Chapter 5 Introduction to HTML, Continued.
CSCE Chapter 5 (Links, Images, & Multimedia) CSCE General Applications Programming Benito Mendoza 1 By Benito Mendoza Department.
Images (1) Three most popular formats – Graphics Interchange Format (GIF) – Joint Photographic Experts Group (JPEG) – Portable Network Graphics (PNG) –
CHAPTER 3 USING HYPERLINKS TO CONNECT CONTENT. LEARNING OBJECTIVES How to use the and anchor tag pair to create a text-based hyperlink. How to use the.
Web Pages: Creating & Maintaining Body Tags. There have been several versions of HTML since its inception. VersionYear HTML1991 HTML HTML
Chapter 5 Creating an Image Map.
_______________________________________________________________________________________________________________ PHP Bible, 2 nd Edition1  Wiley and the.
 2004 Prentice Hall, Inc. All rights reserved. Introduction to XHTML: Part 2 Outline frameset Element 5.10 Nested frameset s.
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.
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.
Chapter 2: Variables, Functions, Objects, and Events JavaScript - Introductory.
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.
Chapter 29 World Wide Web & Browsing World Wide Web (WWW) is a distributed hypermedia (hypertext & graphics) on-line repository of information that users.
1 WWW. 2 World Wide Web Major application protocol used on the Internet Simple interface Two concepts –Point –Click.
1 CSC160 Chapter 7: Events and Event Handlers. 2 Outline Event and event handlers onClick event handler onMouseOver event handler onMouseOut event handler.
WDMD 170 – UW Stevens Point 1 WDMD 170 Internet Languages eLesson: Variables, Functions and Events (NON-Audio version) © Dr. David C. Gibbs WDMD.
HTML IMAGES. CONTENTS IMG Tag Alt Attribute Setting Width and Height Of An Image Summary Exercise.
Basic Webpage Design Mark-up html document with images.
HTML Links HTML uses a hyperlink to another document on the Web.
Web Authoring with Dreamweaver. Unit Objectives  Be able to define keywords: HTML, HTTP (protocol), browser, web server, client/server, tag, attribute,
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.
HTML Hyper Text Markup Language. The Basics u HTML documents contain “tags” which instruct the Browser software on how to present the information within.
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.
ITIS 1210 Introduction to Web-Based Information Systems Chapter 22 Image Maps and Interactive Forms.
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.
HTML Hyper Text Markup Language. Agenda Basics Tools Important tags Tables & databases Forms Publishing at Stern.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 2 Creating Links.
Institute for Visualization and Perception Research 1 © Copyright 1998 Haim Levkowitz Image Maps Introduction... How image maps work... To add a clickable.
Image mapping in HTML Please use the speaker notes for additional information.
Chapter 6 Frames and Image Maps Frame sets and frames Image Maps.
HTML III ECT 270 Robin Burke.
Web Basics: HTML/CSS/JavaScript What are they?
Introduction to HTML:.
CSE 102 Introduction to Web Design and Programming
Images in HTML PowerPoint How images are used in HTML
Active Server Pages Computer Science 40S.
Inserting and Working with Images
Images, Links and Multimedia
Sec (4.3) The World Wide Web.
Chapter 3 Images.
HTML Image Maps Teacher: Ms. Olifer.
Events Comp 205 Fall 2017.
Embedding Graphics in Web Pages
Project Documentation Generation
Introduction to HTML: Image Maps
Dreamweaver Basics.
Lesson 7: Video, Audio and Image Techniques
Internet Technologies I - Lect.01 - Waleed Ibrahim Osman
Pertemuan 1b
Creating an Image Map.
Project 4 Creating an Image Map.
Note this is the page I link to.
Images in HTML PowerPoint How images are used in HTML
Presentation transcript:

Image Maps

What it Does Different parts of the image activate different hyperlinks Image Maps

Server-Side Image Maps Image displayed by client Program runs on server Client browser sends program the (x,y) coordinates of the mouse click Program refers to map file which corresponds regions to URLs and invokes appropriate one Image Maps

Server-Side Image Maps Program runs on server Disadvantages Cannot test page without server running Slow When you move mouse over hyperlink, you don't see the URL since the web browser doesn't know it; you see URL of the map program itself and an (x,y) coordinate Image Maps

Client-Side Image Maps No program which runs on server All processing occurs in browser Supported by very few browsers Image Maps

Creating Server-Side Image Maps Map file Statements default URL circle URL x,y radius (radius in pixels) rect URL x,y x,y poly URL x1,y1 x2,y2 … xn,yn point URL x,y Upper lefthand corner is (0,0) Image Maps

Creating Server-Side Image Maps Map file If cursor not in region, than nearest point is used, if there are any Can have overlapping regions First statement in map file which covers point is used If default is used, then you shouldn't have any points Image Maps

Creating Server-Side Image Maps In your HTML page, include the following, <a href="/cgi.bin/imagemap/ ~xyz/myimage.map"> <img src="image.gif" ismap></a> Image Maps

Creating Server-Side Image Maps If you don't have an image editor to get coordinates, create the following HTML page <html><head><title>Coordinates</title> </head> <body> <a href="nowhere"><img src="image.gif" ismap> Image Maps

Creating Client-Side Image Maps All information is part of HTML document <map>…</map> <map name="mapname"> coordinates and links </map> Image Maps

Creating Client-Side Image Maps <area>-tag <area shape="poly" coords="x1,y1,…,xn,yn" href="file.html"> <area shape="rect" coords="x1,y1,x2,y2" href="file.html"> <area shape="circle" coords="x,y,radius" Image Maps

Creating Client-Side Image Maps Can use target=window_name for frames <map name="books"> <area shape="poly" coords="70,0, 0,37, 0,183, 27,192, 27,48, 103, 9" href="file.html"> </map> <img src="image.gif" usemap="#books"> Image Maps

Creating Client-Side Image Maps Can use both types of image maps\ <a href="cgi.bin/imagemap/~xyz/myimage.map"> <img src="image.gif" usemap="#books" ismap> </a> Install myimage.map on server Include <map name="books">…</map> somewhere on page Client-side tried first, else does server-side Image Maps