 |
 |
Image map link without border
|
 |
|
 |
|
Mac Elite
Join Date: Dec 2000
Location: Tempe, AZ
Status:
Offline
|
|
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
|
|
Add an
OnFocus='Blur()'
to each of your < a > tags
|
|
Computer thez nohhh...
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Sep 2002
Status:
Offline
|
|
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
|
|
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
|
|
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...
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Dec 2000
Location: Tempe, AZ
Status:
Offline
|
|
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()">
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|