Link to home
Start Free TrialLog in
Avatar of bganoush
bganoush

asked on

Map boxes show up sometimes...


I have an image map which behaves strangely... It's a very simple map with three rectangle that do not intersect. They work fine and react normally to clicks.

The strange thing about them is that sometimes the area shows up as a dotted rectangle when I click on them. Once the dotted rectangle shows up on one of the areas, then all areas on the map will have their rectangles show up when clicking...

The only thing these rectangles do is that they change the background colour of a DIV tag...

Any ideas why these areas show up (and only some of the time)?

-- Bubba
ASKER CERTIFIED SOLUTION
Avatar of knightEknight
knightEknight
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You can try this:

<AREA ... onfocus="this.blur();">

but I'm not sure how that might affect the clicks
Avatar of bganoush
bganoush

ASKER


AaaaHA!

You're using that old calling the javascript blur() method from the onfocus trick!!!  Good call!

-- Thanks