Hotspots don't move with image

D

Doug Stewart

I've been trying to creat a clickable map (click on a given part of a map to
be transfered to the corresponding HTML page). I've created the GIF map,
copied it into FrontPage, then used hotspots to make the map clickable. In
regard to this I have some questions:

1a) If I move the map to another part of the page or if I resize the map,
the hotspots stay on their original part of the page rather than following
the map. How do I tie the hotspots to the map, so that when I move the map
the hotspots follow?

1b) If the answer to 1a is NO, is there a better way of doing this than
using hotspots?

2) As a related question, I would like to copy the map (with it's hotspots
definitions) to multiple pages without having to copy the map and redefine
the hotspots each time. Is this possible? Of course, this would depend on a
solution to question 1 above.

3) When defining a hotspot, can one assign both text and a hyperlink to the
same hotspot? I can do this by defining two hotspots that cover the same area
but it would be nice to do it in a single operation.

Thanks in advance for any advice.

Doug
 
D

Doug Stewart

I've found the answer to question 3 (using Screen Tips). However, would
greatly appreciate answer to questions 1 and 2.

Doug
 
M

Murray

The hotspot coordinates are with respect to the upper left-hand corner of
the image. Whither it goest, so goes the hotspot, to paraphrase a bit. It
is possible to copy an image with hotspots to another page - make sure you
copy both the said:
3) When defining a hotspot, can one assign both text and a hyperlink to
the
same hotspot? I can do this by defining two hotspots that cover the same
area
but it would be nice to do it in a single operation.

You would use the title attribute on the area tag, e.g.,

<area title"this is the leftmost hotspot"....
 
D

Doug Stewart

Murray

Great. Thanks for your help.

Doug
---------------------------------
 
R

Rob Giordano \(Crash\)

Wouldn't it be easier to put the map on an include page, instead of copying
it to all the pages?


| You're welcome!
|
| --
| Murray
| ============
|
| | > Murray
| >
| > Great. Thanks for your help.
| >
| > Doug
| > ---------------------------------
| >
| > "Murray" wrote:
| >
| >> The hotspot coordinates are with respect to the upper left-hand corner
of
| >> the image. Whither it goest, so goes the hotspot, to paraphrase a bit.
| >> It
| >> is possible to copy an image with hotspots to another page - make sure
| >> you
| >> copy both the <img> tag and the <map> and all of its associated <area>
| >> tags.
| >>
| >> > 3) When defining a hotspot, can one assign both text and a hyperlink
to
| >> > the
| >> > same hotspot? I can do this by defining two hotspots that cover the
| >> > same
| >> > area
| >> > but it would be nice to do it in a single operation.
| >>
| >> You would use the title attribute on the area tag, e.g.,
| >>
| >> <area title"this is the leftmost hotspot"....
| >>
| >> --
| >> Murray
| >> ============
| >>
| >> | >> > I've been trying to creat a clickable map (click on a given part of a
| >> > map
| >> > to
| >> > be transfered to the corresponding HTML page). I've created the GIF
| >> > map,
| >> > copied it into FrontPage, then used hotspots to make the map
clickable.
| >> > In
| >> > regard to this I have some questions:
| >> >
| >> > 1a) If I move the map to another part of the page or if I resize the
| >> > map,
| >> > the hotspots stay on their original part of the page rather than
| >> > following
| >> > the map. How do I tie the hotspots to the map, so that when I move
the
| >> > map
| >> > the hotspots follow?
| >> >
| >> > 1b) If the answer to 1a is NO, is there a better way of doing this
than
| >> > using hotspots?
| >> >
| >> > 2) As a related question, I would like to copy the map (with it's
| >> > hotspots
| >> > definitions) to multiple pages without having to copy the map and
| >> > redefine
| >> > the hotspots each time. Is this possible? Of course, this would
depend
| >> > on
| >> > a
| >> > solution to question 1 above.
| >> >
| >> > 3) When defining a hotspot, can one assign both text and a hyperlink
to
| >> > the
| >> > same hotspot? I can do this by defining two hotspots that cover the
| >> > same
| >> > area
| >> > but it would be nice to do it in a single operation.
| >> >
| >> > Thanks in advance for any advice.
| >> >
| >> > Doug
| >>
| >>
| >>
|
|
 
R

Ratatooie

Doug Stewart said:
I've been trying to creat a clickable map (click on a given part of a map
to
be transfered to the corresponding HTML page). I've created the GIF map,
copied it into FrontPage, then used hotspots to make the map clickable. In
regard to this I have some questions:

1a) If I move the map to another part of the page or if I resize the map,
the hotspots stay on their original part of the page rather than following
the map. How do I tie the hotspots to the map, so that when I move the map
the hotspots follow?

You dont. Hot spots have no idea what the image is, they are just pixel
specifications. Don't resize the image once the hostspots are done, make
several versions, or use a different technology (like Flash) to do the task.

1b) If the answer to 1a is NO, is there a better way of doing this than
using hotspots?

Flash, or Java, or JavaScript, or Slice the images and link on the graphics
directly....
2) As a related question, I would like to copy the map (with it's hotspots
definitions) to multiple pages without having to copy the map and redefine
the hotspots each time. Is this possible? Of course, this would depend on
a
solution to question 1 above.

Use an include file for that.

3) When defining a hotspot, can one assign both text and a hyperlink to
the
same hotspot? I can do this by defining two hotspots that cover the same
area
but it would be nice to do it in a single operation.

What? The "alt" text tag works on any hotspot link. Not all versions of FP
have a little form for it though.

The HTML required is;

alt="Your Text Here"

In the hyperlink tag.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top