Strange. I would have sworn I had marked this thread, but no e-mail was sent alerting me to your reply. Well, it's marked now. At any rate, thanks for replying, and I'll be testing your suggestion shortly, perhaps today, perhaps Monday.
As for the hidefocus="true" -- I don't remember where I picked that up, but it works just fine in IE 5.0+ (Win) at least. Just pop it into your <a> tag somewhere and watch the focus NOT appear around the image or text that serves as the link, when you click it. Really cool when that's what's needed.
Yes, I know all about the "right" way to do things, like we're not supposed to remove or suppress the visual indicator of where the focus is, but there are times when the situation calls for specific effects. This is one of those times. Since the hidefocus thing DOES work, and since I'm aware of the trade-offs between achieving the esthetic goal and usability, I feel entitled to use it if I want to.
>>> It's the first time I hear about "hidefocus" thing.
>>> Where did you test it?
I use it all the time, but the two most prevalent places I've used it I cannot yet show to the world -- both are confidential until they're unveiled. Sorry. But you can quickly and easily try it out in your own code.
>>> The one that is commonly used is this:
>>> onfocus="this.blur()"
Wouldn't this have the effect of preventing the element from ever getting the focus long enough to act on it? Like as soon as the object gets the focus it loses it? Seems almost self-contradictory. But hey, I'll try anything once.
>>> It can be used for anything: <a> links, imagemap
>>> areas, etc. and it works in all browsers.
Well, that's what I need. I'll give it a try and get back to you here.
>>> Also, I don't see anything horrible if the
>>> outline is visible. Why should you hide it?
Depends on the situation. The shape is an odd shape, and since the color of the image map in that spot is a bright blue, the color of the outline of the hotspot is, of course, a contrasting color that calls attention to itself. More than that, the outline is persistent, too persistent, even after you've clicked on it and gone to the target page. Since the target page, in this case, loads into another frame, and the image map remains visible in the top frame, nothing happens to the image map and the outline stays visible. This can divert the user's attention away from what he/she "should" be looking at.
The outline of the polygonal hotspot is a solid, colored line, not the gray dotted line that indicates focus in all situations other than image maps. I find it highly noticeable.
>>> More than that, it is seen only in IE
>>> (all versions) and Netscape 6 and is not
>>> seen in any Opera and NN4.
Well, it's good to know that it's not persistent everywhere, but since I'm building this site specifically for IE users (per corporate policy), it's the behavior in IE that concerns me most.
At any rate, thanks again for the reply. I'll be testing your code soon, and will report the results.
John Herring
jhherring@yahoo.com