Re: Copying image maps

Subject: Re: Copying image maps
From: "Huber, Mike" <mrhuber -at- SOFTWARE -dot- ROCKWELL -dot- COM>
Date: Tue, 25 Aug 1998 14:02:54 -0400

> From: Jean Clougherty [mailto:jean -at- vitalimages -dot- com]
...
> All of these pages will have the same image map for the graphic. The
> image map will have about 50 hotspots on it.
>
> My question is: How can I copy the image map from one HTML page to
> another, so I don't have to recreate it for each graphic?
> Can you suggest a
> tool or technique? I am currently using PageMill to create
> HTML pages, and I
> don't think PageMill can copy an image map from one graphic
> to another. I
> can buy another tool if need be.

This is extremely simple in any ASCII editor. NotePad works well. The usual
process is this:

1) Go into the file that has the image map.
- Find the image map. An image map has two parts, the MAP tag and the
graphic tag. They are probably close together.
- The MAP tag starts with '<MAP NAME="mymap">' and ends with </MAP>'.
Each hotspot is represented by an <AREA> tag inside the MAP tag.
- The graphic tag looks like '<IMG SRC="myimage.gif" maybe some
parameters go here USEMAP="#mymap">' ("myimage.gif" could be "myimage.jpg").

2) Copy the HTML code from '<MAP NAME...>' to '</MAP>' and '<IMG SRC...>'.
If the MAP and image tags are adjacent, you can do this in one step.
3) Paste the code into the other page.

But since your application involves a different graphic in each case, you
would have to change the '<IMG SRC="myimage.gif" ' to point to a different
graphic file for each page.

---
Office:
mike -dot- huber -at- software -dot- rockwell -dot- com
Home:
nax -at- execpc -dot- com

From ??? -at- ??? Sun Jan 00 00:00:00 0000=




Previous by Author: Re: advice requested...
Next by Author: Re: What letters of recommendation really say--3 questions
Previous by Thread: Copying image maps
Next by Thread: QUESTION: Electronic Reviews


What this post helpful? Share it with friends and colleagues:


Sponsored Ads