Go Back   CodingForums.com > :: Client side development > General web building

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 06-14-2002, 01:09 PM   PM User | #1
lindaven
New Coder

 
Join Date: Jun 2002
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
lindaven is an unknown quantity at this point
Hotspots - again! (new forum)

Thanks to the guys who replied on the old forum, I'll re-explain for those who didn't see it.

I'm creating hotspot links for a web page. Problem is, when you click a link, it outlines the area of the hotspot. This makes the page look terrible. I've noticed that this only happens on some versions of IE. Someone gave me a bit of code with a focus setting. I tried this, but on the machine I was using, it had no effect. The hotspot remained outlined after clicking.

Any ideas?
lindaven is offline   Reply With Quote
Old 06-14-2002, 01:50 PM   PM User | #2
Feyd
Regular Coder


 
Feyd's Avatar
 
Join Date: May 2002
Location: Los Angeles, CA Maxim: Subvert Society
Posts: 404
Thanks: 0
Thanked 0 Times in 0 Posts
Feyd is an unknown quantity at this point
use onfocus="this.blur();"

example:

Code:
<map>
<area href="blah" coords="0,10,10,0" onfocus="this.blur();">
</map>
__________________
Moderator, Perl/CGI Forum
shadowstorm.net - subvert society
Feyd is offline   Reply With Quote
Old 06-14-2002, 02:17 PM   PM User | #3
Zvona
Regular Coder

 
Join Date: May 2002
Location: Helsinki, Finland
Posts: 231
Thanks: 0
Thanked 1 Time in 1 Post
Zvona is an unknown quantity at this point
Hi Lindaven,

you should remember that outlining of a link is very useful for people and devices which aren't using mouse. They probably focus between links with a navigation button (e.g tabulator). With disabled outlining, these users can't see where are they currently focusing on.

Also pay attention on accesskey -attribute which enhances usability of keyboards/-pads.
__________________
Zvona
First Aid for
Web Design
Zvona is offline   Reply With Quote
Old 06-14-2002, 09:16 PM   PM User | #4
lindaven
New Coder

 
Join Date: Jun 2002
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
lindaven is an unknown quantity at this point
ah, yes.... good point. I hadn't thought of that. However, in this instance I'm going to choose to ignore that since I still think it spoils the appearance and the visitors to this site are likely to be standard IE or Netscape browsers.

Thanks also for the tag quoted. I tried this last night and found it made no difference (IE6). However, I did notice that when I viewed the page under IE5 today, the outline didn't happen anyway! So now I'm just confused totally!

lindaven is offline   Reply With Quote
Old 06-28-2002, 03:59 PM   PM User | #5
lindaven
New Coder

 
Join Date: Jun 2002
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
lindaven is an unknown quantity at this point
OK, firstly, I'd like to thank those who replied about the OnFocus="this.blur();" fix. I re-did it when I'd had a sleep, and obviously did it properly since it all works fine now!

Now, I've found a new problem. I've made my page look just fine at 1024x768 and it works a treat. However, reduce the resolution to 800x600, and the layer I have my hotspots on suddenly shifts about 50 pixels to the right.

Why has it done this, and how do I fix it?

Thanks in anticipation,

Eddie.
lindaven is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:19 AM.


Advertisement
Log in to turn off these ads.