Scripsit Annette Acquaire:
Quote:
I have and image map with a dozen hotspot links on it that I'm
trying to get to open a new image over existing one on mouseover of
each COORD.
As Brendan Gillatt wrote, image maps are usually a bad technique -
especially for simple navigation, since they turn it into complicated and
unreliable navigation.
Yet, the technical problem is intriguing.
Quote:
The only thing I was able to do was swap image on
mouseover entire image,
That's the way - and you would thus need versions of the entire image for
each mouseover effect. It's possible but awkward and inefficient.
Quote:
I want it on each hotspot only,
The problem is that even on browsers that support the onmouseover="..."
attribute for in HTML _or_ :mouseover in CSS <areaelements, there's not
much you can do in simple manner. In CSS, you cannot change the properties
of an enclosing element in a rule for an area:mouseover selector.
Quote:
I have done it in JavaScript, but the website I'm using doesn't use
JavaScript.
I cannot quite see how you could do it even for the entire image without
using JavaScript. You can use overlaid <imgelements and z-index to select
which image is visible (i.e., on the top), but how could you make this
depend on the _area_?
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/