/    Sign up×
Community /Pin to ProfileBookmark

Mouse Over Change Picture

Is it possible to have a mouse over effect with HTML?

Specificly I want it so that when someone mouses over an IMAGE LINK it will change into another image right when a person puts a mouse over it. Is that possible through HTML?

For Example: at [url]www.htmlgoodies.com[/url] to the side there is a bar to different links. I want that type of effect.

to post a comment
HTML

2 Comments(s)

Copy linkTweet thisAlerts:
@CharlesOct 01.2005 — 1) Stay far away from the HTML Goodies site. It is chock full of inaccurate information.

2) It's done with CSS. See http://www.w3.org/TR/CSS2/ . You'll need to set the height and width of your links and then use the ":linK" and ":hover" pseudo-classes.
Copy linkTweet thisAlerts:
@KravvitzOct 01.2005 — [url=http://www.dynamicsitesolutions.com/css/background_image_switching/]Take a look at this demo.[/url]
×

Success!

Help @azndude622 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.20,
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,
)...