/    Sign up×
Community /Pin to ProfileBookmark

How to make temporary border disappear in Firefox

Hi! ?

I have a linked transparent graphic over the background of a door, so when the user clicks on the door it will be taken to the page I want.

The problem is that when the user clicks on the door my transparent graphic gets an automatic border for a few seconds and reveals my ghost graphic.

I took a screenshot of this problem so you know what I’m talking about:

[url]http://img68.imageshack.us/img68/6372/sampleproblem3nm.jpg[/url]

Noticed how the border of my transparent graphic shows up after clicking it?

This only happens in Firefox. Is there a way to fix this in the code? ?

Thanks!

Melissa

to post a comment
HTML

6 Comments(s)

Copy linkTweet thisAlerts:
@dthurman1432Jun 05.2006 — you can try ONCLICK="this.blur() Not sure of the compatibility between IE and Firefox but this works great in IE
Copy linkTweet thisAlerts:
@Melissa3authorJun 05.2006 — Thanks for the reply. Can you give me an example of where to put that code using "ghost.gif" as my file?
Copy linkTweet thisAlerts:
@dthurman1432Jun 05.2006 — <a href="whatever.html" onClick="this.blur();"><img src="ghost.gif" /></a>
Copy linkTweet thisAlerts:
@Melissa3authorJun 05.2006 — Thank you! That's a lot better. I will add this to my code and see if it works! ?
Copy linkTweet thisAlerts:
@Melissa3authorJun 05.2006 — Unfortunately, after implementing that code, the border still shows up for a few seconds when I click on the transparent image.. ?
Copy linkTweet thisAlerts:
@millimillenaryJun 06.2006 — have you tried setting the image border to 0?
×

Success!

Help @Melissa3 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.13,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...