Forum Moderators: open

Message Too Old, No Replies

MAP area select

         

orion_rus

11:49 am on Feb 21, 2005 (gmt 0)

10+ Year Member



Hello world i have a map with areas. I want to change border size and color of this area at mouseover not placing another image on this.
May be anybody have decision?
Thank you very much

SpaceFrog

1:25 pm on Feb 21, 2005 (gmt 0)

10+ Year Member



I'm afrais there's nothing much you can do with a map area, border are not modifiable ...

lZakl

2:02 pm on Feb 21, 2005 (gmt 0)

10+ Year Member



I have seen this done with CSS, by taking blank gifs and placing them over the image map, and OnMouseover changing gifs to one with a border, or simply changing the border=0 to border=1 if you just want the square around the image to be shown. Hope this help :0)

-- Zak

orion_rus

2:45 pm on Feb 21, 2005 (gmt 0)

10+ Year Member



Yes( it's not editable but we have javascript) we can do many with it)
I think what somebody already solve this problem and asking the best way.
I think i make the follows:
<area coors="some coords" onmouseover="showborder(this.coords)" onmouseout="hideborder()">
and showborder draws a polygon with coordinates of area.
What are u think about this decision?

SpaceFrog

4:41 pm on Feb 21, 2005 (gmt 0)

10+ Year Member



sure could be done, but you may encounter then some problems with accessibility to area, as polygone above area would block focus on area, be careful with the z-index, your polygon should be dragged behind map...

for polygon you may want to use something like walterzorn (google search) ...

enjoy!