If you click on a hyperlink in a html text field, image or imagemap, a thin selection field appears around the clickable area of the object. If you use Firefox/Mozilla, that area disappears the instant the page is loaded. Internet Explorer however leaves the object selected until the next following mousedown event.
This isn't particularly bothersome with text hyperlinks, but it does look a bit undesireable on imagemaps used in menu systems. I know it is possible to force Internet Explorer to remove that selection after a click. I know because I actually programmed this before, but that was years ago. I can no longer find any of that 'olde code' that I used to make either, a damn shame.
I think it can somehow be achieved by using a bit of java scripting, perhaps in combination with some hyperlink related CSS. The key here is an OnMouseUp event, which must something triggers something that removes the selection field around the object after the user has clicked on a link.
Can anyone help me? I really need to get this website done by tomorrow. =/
Example image:
example.jpg - selection field
- Here you see a circular image map around the 2, it appeared after I clicked on it. You can't normally see an image map (there are similar ones around the other numbers), so this kind of defies the purpose of having them.
PS - Moderators, I realize I created a similar thread earlier today but that was just for html, and rather simple html at that. I wanted a clean sheet for this more complicated problem. If you have a problem with that and wish to fuse my threads or something, don't bother. You can just delete the previous one, it didn't help me much anyway.
Internet Explorer pitfall (html/java/css help needed)
Internet Explorer pitfall (html/java/css help needed)
[INDENT]'..tolerance when fog rolls in clouds unfold your selfless wings feathers that float from arabesque pillows I sold to be consumed by the snow white cold if only the plaster could hold withstand the flam[url="http://bit.ly/foT0XQ"]e[/url] then this fountain torch would know no shame and be outstripped only by the sun that burns with the glory and honor of your..'[/INDENT]
Ok, I'm heading to bed in an hour. I knew this thread was a shot it the dark, but I had to try it. I'll check up on it again in about seven hours, I might have some time to get this fixed in the half hour before I head off to university. After that, don't bother.
In case you are wondering what I'm working on that needs my rusted scripting skills so badly, I'm making a band 'recruitment' site that should come online when the flyers are dumped on a bunch of message boards (of the cork variety) in some of the recording studios around here. That would be this saturday. I'm being stupid, I came with the idea yesterday and I figured I would have had more time to finish it tomorrow. I don't, so I've been working on it for over eleven hours straight today. You can see why I'm getting a bit desperate.
In case you are wondering what I'm working on that needs my rusted scripting skills so badly, I'm making a band 'recruitment' site that should come online when the flyers are dumped on a bunch of message boards (of the cork variety) in some of the recording studios around here. That would be this saturday. I'm being stupid, I came with the idea yesterday and I figured I would have had more time to finish it tomorrow. I don't, so I've been working on it for over eleven hours straight today. You can see why I'm getting a bit desperate.
[INDENT]'..tolerance when fog rolls in clouds unfold your selfless wings feathers that float from arabesque pillows I sold to be consumed by the snow white cold if only the plaster could hold withstand the flam[url="http://bit.ly/foT0XQ"]e[/url] then this fountain torch would know no shame and be outstripped only by the sun that burns with the glory and honor of your..'[/INDENT]
Just click on any kind of hyperlink that opens up a new frame or a seperate window. In Internet explorer and Firefox you'll usually see a little square around the text/object, highlighting the area of the link. IExplorer lets it stick, Firefox doesn't. The little circle you see around the 2 in the image I put up is the result of a circular image map that sticked.
I'm very much out of time today. I may have some more time tomorrow, but the flyers are getting printed in the morning already, with or without the URL. I have to decide whether or not I want to advertise with an incomplete site.
I'm very much out of time today. I may have some more time tomorrow, but the flyers are getting printed in the morning already, with or without the URL. I have to decide whether or not I want to advertise with an incomplete site.
[INDENT]'..tolerance when fog rolls in clouds unfold your selfless wings feathers that float from arabesque pillows I sold to be consumed by the snow white cold if only the plaster could hold withstand the flam[url="http://bit.ly/foT0XQ"]e[/url] then this fountain torch would know no shame and be outstripped only by the sun that burns with the glory and honor of your..'[/INDENT]
Well, like I said it shows very much on imagemaps. I stick to Firefox, but I won't have it look differently on Internet Explorer.
Epiphany, would a frame reload work as an automatic way to remove the focus from the object? I'd have to put the menu in a seperate frame, and reload it on each MouseUp or something. That might be doable.
Epiphany, would a frame reload work as an automatic way to remove the focus from the object? I'd have to put the menu in a seperate frame, and reload it on each MouseUp or something. That might be doable.
[INDENT]'..tolerance when fog rolls in clouds unfold your selfless wings feathers that float from arabesque pillows I sold to be consumed by the snow white cold if only the plaster could hold withstand the flam[url="http://bit.ly/foT0XQ"]e[/url] then this fountain torch would know no shame and be outstripped only by the sun that burns with the glory and honor of your..'[/INDENT]
I would think a frame-load would be tremendously overkill for this.
And FYI - I have the same in FireFox as I do in IE if I open a link in a new tap for instance, then the "box" is there until some other elements get focus.... just as it does in my IE.
It is a box which shows when an element has focus, so the person can see this - many use it if navigating using something else then the mouse (tab for instance), so I would personally think it a bad usability to remove it and perhaps a tad nitpickish
, however if it is due to an imagemap which annoys you, then I'd just attempt to remove focus from the element, for instance using the javascript command "blur()"
And FYI - I have the same in FireFox as I do in IE if I open a link in a new tap for instance, then the "box" is there until some other elements get focus.... just as it does in my IE.
It is a box which shows when an element has focus, so the person can see this - many use it if navigating using something else then the mouse (tab for instance), so I would personally think it a bad usability to remove it and perhaps a tad nitpickish
Insert signature here.
Odd, I don't have that problem with imagemaps in Firefox. Maybe it's a more specific problem (Edit: I just tested it, it never occured to me that it only works like that with imagemaps).
Blur() does seem to work, except I now get a security alert in IExplorer that wants to blocks ActiveX elements. IExplorer is such a nuisance.
You wouldn't happen to know how to circumvent that, would you? I mean, through scripting, not by altering the security level of my browser (that wouldn't solve anything for others). I'm really out of my league here.
Blur() does seem to work, except I now get a security alert in IExplorer that wants to blocks ActiveX elements. IExplorer is such a nuisance.
You wouldn't happen to know how to circumvent that, would you? I mean, through scripting, not by altering the security level of my browser (that wouldn't solve anything for others). I'm really out of my league here.
[INDENT]'..tolerance when fog rolls in clouds unfold your selfless wings feathers that float from arabesque pillows I sold to be consumed by the snow white cold if only the plaster could hold withstand the flam[url="http://bit.ly/foT0XQ"]e[/url] then this fountain torch would know no shame and be outstripped only by the sun that burns with the glory and honor of your..'[/INDENT]
I've never heard of calling blur() giving an ActiveX warning.Tricky wrote:Odd, I don't have that problem with imagemaps in Firefox. Maybe it's a more specific problem (Edit: I just tested it, it never occured to me that it only works like that with imagemaps).
Blur() does seem to work, except I now get a security alert in IExplorer that wants to blocks ActiveX elements. IExplorer is such a nuisance.![]()
You wouldn't happen to know how to circumvent that, would you? I mean, through scripting, not by altering the security level of my browser (that wouldn't solve anything for others). I'm really out of my league here.
However, it could have something to do with the fact that IE was (recently) changed that various such elements need to be activated "by the user"/client in order to run (usually meaning being clicked on/getting focus), and it could be connected to that - but without more information it is guess work from my side.
If it is an ActiveX element you are trying to "blur()" on, then try to set focus to some other element instead of just "bluring" the current one and see if that changes your problem.
I usually don't work with ActiveX elements myself as we rarely have the need for them.
Insert signature here.
All I added was a little Javascript invoking blur() in a MouseUp event. I don't see how that has anything to do with ActiveX. Perhaps I need to update IExplorer.
Edit: I'm starting to realize I'm getting these warnings with other, unrelated Javascripts too. This just doesn't make any sense at all.
Edit2: It seems like this is simply how IE works nowadays, nothing I can do about it. Microsoft has gone off the deep end in trying to get browser security optimal. Fine, topic closed.
Edit: I'm starting to realize I'm getting these warnings with other, unrelated Javascripts too. This just doesn't make any sense at all.
Edit2: It seems like this is simply how IE works nowadays, nothing I can do about it. Microsoft has gone off the deep end in trying to get browser security optimal. Fine, topic closed.
[INDENT]'..tolerance when fog rolls in clouds unfold your selfless wings feathers that float from arabesque pillows I sold to be consumed by the snow white cold if only the plaster could hold withstand the flam[url="http://bit.ly/foT0XQ"]e[/url] then this fountain torch would know no shame and be outstripped only by the sun that burns with the glory and honor of your..'[/INDENT]