Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Image map link without border

Image map link without border
Thread Tools
Mac Elite
Join Date: Dec 2000
Location: Tempe, AZ
Status: Offline
Reply With Quote
Oct 11, 2002, 11:28 AM
 
I have an image with a strange half circluar layout, there are links around the half circle. I am using image map to actually define the links. Does anyone know the way to make the borders of a link disappear when a user clicks on it? What I mean is that in IE if you click on a link you will get the outline of the image map your mouse clicked on. I would like to get rid of this effect.

thanks,


t
     
Grizzled Veteran
Join Date: Jun 2001
Location: Melbourne, Australia
Status: Offline
Reply With Quote
Oct 11, 2002, 04:36 PM
 
Add an

OnFocus='Blur()'

to each of your < a > tags
Computer thez nohhh...
     
Fresh-Faced Recruit
Join Date: Sep 2002
Status: Offline
Reply With Quote
Oct 11, 2002, 06:30 PM
 
To lose the border of a imagemap or ANY image when clicked, you can add BORDER="0" to it's image tag like so...

< a href="blahblah.map">< img border="0" src="graphic.gif" ISMAP...

Note, that it should go between IMG and SRC.
     
Addicted to MacNN
Join Date: Aug 2001
Location: North Hollywood, CA
Status: Offline
Reply With Quote
Oct 12, 2002, 03:13 PM
 
Originally posted by Simon Mundy:
Add an

OnFocus='Blur()'

to each of your < a > tags
What is that? I never heard of it before.

I'm sure what he want to know is those BORDER='0' commands.
     
Grizzled Veteran
Join Date: Jun 2001
Location: Melbourne, Australia
Status: Offline
Reply With Quote
Oct 12, 2002, 07:40 PM
 
Originally posted by Adam Betts:


What is that? I never heard of it before.

I'm sure what he want to know is those BORDER='0' commands.
Trust me, if you want to get rid of those ugly blue borders that appear when you click on a link - that's on either images or text - then this will do the trick on any javascript-enabled version of IE (especially for Mac):

Code:
<a href="#" onfocus="blur()">Try this</a>
- Here's the code: < a href="#" onfocus="blur()">Try this< /a >
Computer thez nohhh...
     
t_hah  (op)
Mac Elite
Join Date: Dec 2000
Location: Tempe, AZ
Status: Offline
Reply With Quote
Oct 14, 2002, 11:24 AM
 
Thank you for all the inputs. The onFocus="blur()" does work.

I am using image maps and I used the onFocus the following way:

<area shape="poly" coords="303,322,305,415,516,418,515,380,405,375,40 2,326" href="links.php" name="Links" onFocus="blur()">
     
   
Thread Tools
Forum Links
Forum 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
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 01:54 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2