Wednesday, July 22, 2009

Image Maps

: These are hyperlinked images. Clicking on a particular spot will load another html page. There are 2 types of image maps.

a. Server-side Image Maps : These are image maps that will contact the server for linking to a different URL. Features,

- The user clicks somewhere within the image.
- The browser sends a request to the server with the (x,y) co-ordinates. The data is decoded by the server and sends a URL which maps to the current spot clicked.
- After getting the information back from the server, the browser requests the particular URL.

b. Client-side Image Maps : There is no need to visit the server getting the URL that corresponding to the spot clicked on the image.

- There is no need to visit the server for determining the page requested.
- Destination URL's can be shown as the user moves over the image. - Image maps can be developed easily without testing with a server.

No comments:

Post a Comment