/    Sign up×
Community /Pin to ProfileBookmark

Image sometimes doesn’t load for onmouseover

First of all, I know nothing about JavaScript, I got this code from [url]http://www.dynamicdrive.com[/url] and basically just copy-pasted.

So I’m using a code for a mouseover image change for a menu at

[url]http://www.happinesshypothesis.com[/url]

It’s working fine, except that at really random intervals, the regular, not mousedover image for one of the menu links doesn’t load and has the broken image icon. Most of the time it works just fine, but every so often it won’t load. Like I said, I know nothing of Javascript and when this code is run through an HTML validator it doesn’t accept hsrc part. Any explanations or advice as to solve this problem or for a better mouseover code would be appreciated. Thanks =)

-Natalie

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@FangDec 12.2005 — The script uses a propriety attribute, hsrc. Not all browsers will be able to read it.

I would advise you not to use this script.
×

Success!

Help @nachan 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 4.29,
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: @Yussuf4331,
tipped: article
amount: 1000 SATS,

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

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...