Skip navigation
yeung1073
Currently Being Moderated

remove the dotted line in the image map

Jul 5, 2006 11:43 PM

dear all, i would want to know how to remove the dotted line of the image map, for my case, i cannot see the dotted line in IE but can see the line in firefox, (in my boss computer, he can see the dotted line in both IE and firefox)
i have try some method such as using the component of Remove IE Link Scrubber by PVII. while i find it is not work. could any one give some suggestion for me to remove the dotted link of the image map or give me some ways that other than using map.
thx a lot !!!!!!!!
 
Replies
  • Currently Being Moderated
    Jul 6, 2006 2:04 AM   in reply to yeung1073
    Got a URL to your site so we can see the image map?

    --
    Regards

    John Waller


     
    |
    Mark as:
  • Currently Being Moderated
    Jul 7, 2006 5:53 AM   in reply to Newsgroup_User
    As far as I know there is nothing you can do to remove the dotted line
    in Firefox. It can be done in IE with a simple script:

    <a href [...stuff...] onFocus="if(this.blur)this.blur()">

    Many advise against this for accessibility/usability reasons.

    --
    James M. Shook
    http://www.jshook.com
     
    |
    Mark as:
  • Currently Being Moderated
    Jul 7, 2006 8:53 AM   in reply to Newsgroup_User
    On Fri, 07 Jul 2006 08:53:26 -0400, James Shook <jshook@dont_mail.com>
    wrote:

    >As far as I know there is nothing you can do to remove the dotted line
    >in Firefox. It can be done in IE with a simple script:
    >
    ><a href [...stuff...] onFocus="if(this.blur)this.blur()">
    >
    >Many advise against this for accessibility/usability reasons.

    Doing it onFocus is really bad for accessibility reasons. It's less
    intrusive if you do it onClick. That way, a user using the keyboard for
    navigation can still tab to the link and it will work in FF as well.

    Gary
     
    |
    Mark as:
  • Currently Being Moderated
    Jul 9, 2006 10:45 AM   in reply to Newsgroup_User
    On Sun, 9 Jul 2006 17:03:31 +0000 (UTC), "yeung1073"
    <webforumsuser@macromedia.com> wrote:

    >if not using javascript can i remove the dotted line by setting the css of that
    >page so that make it invisible ??

    No.


    > if not .........is it have other ways to make the same effect like image map??
    > thx a lot!!!!!!!!

    You could slice it into individual images if the map is comprised of
    rectangular sections, but you'd still have the same issue.

    Gary
     
    |
    Mark as:
  • Currently Being Moderated
    Apr 21, 2012 4:59 AM   in reply to yeung1073

    This is the solution:

     

    onclick="blur()" onfocus="navigator.appName == 'Microsoft Internet Explorer' ? blur() : null"

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points