/    Sign up×
Community /Pin to ProfileBookmark

Mouse Over Change Text Color?

I was wondering if it would be possible if when you placed the mouse over some text it would change the text color or the background of that part of the text? I know you can do this with pictures, but it would be very unpractical to make a seperate .bmp/.jpeg for each element that I want to use as there are close to fifty or more. Any help would be greatly appreciated.

Edit: Or even a script which when you press a button a small box pops down showing text. I’ve seen something like it done before.

Thanks,
Relyt

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@Arty_EffemFeb 26.2007 — I was wondering if it would be possible if when you placed the mouse over some text it would change the text color or the background of that part of the text? I know you can do this with pictures, but it would be very unpractical to make a seperate .bmp/.jpeg for each element that I want to use as there are close to fifty or more. Any help would be greatly appreciated.

Edit: Or even a script which when you press a button a small box pops down showing text. I've seen something like it done before.[/QUOTE]
I don't quite see the association between those two functions. How about when you mouse over an element, the bg/fg colours fade between any two values? [b]Link[/b]
Copy linkTweet thisAlerts:
@jackoconnellFeb 26.2007 — This is done with css

You may use view source an my page http:jackoconnell.com

for one example.

Jack
×

Success!

Help @relyt_123 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 6.2,
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: @meenaratha,
tipped: article
amount: 1000 SATS,

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

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