[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 161
  • Last Modified:

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
0
bganoush
Asked:
bganoush
  • 2
1 Solution
 
knightEknightCommented:
Each area can recieve focus seperately -- that is why the dotted square shows up.
0
 
knightEknightCommented:
You can try this:

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

but I'm not sure how that might affect the clicks
0
 
bganoushAuthor Commented:

AaaaHA!

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

-- Thanks
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now