/    Sign up×
Community /Pin to ProfileBookmark

Can someone tell me how to get the CSS gradient effect on my link rollovers like [URL=http://www.albinoblacksheep.com]www.albinoblacksheep.com[/URL]?

to post a comment
CSS

4 Comments(s)

Copy linkTweet thisAlerts:
@StefanDec 08.2002 — [i]Originally posted by ChocoboJoe [/i]

[B]the CSS gradient effect [/B][/QUOTE]


?

What CSS gradient effect?

All I see is a lot of JavaScript (that btw breaks crossbrowser, so it's a pretty bad implementation).

Do you mean the changing of colors?
Copy linkTweet thisAlerts:
@ChocoboJoeauthorDec 08.2002 — At that site, albinoblacksheep.com, when you rollover the links, and hover, it has sort of a rainbow color gradient effect. I looked at the source and I thought it was a css effect, but now I'm not so sure. Stefan, try looking at the site in IE, and Dave, that's...not quite what I'm looking for, but I appreciate it, because if I can't find it as a CSS effect, I'll surely use that.

Matt
Copy linkTweet thisAlerts:
@StefanDec 08.2002 — [i]Originally posted by ChocoboJoe [/i]

I looked at the source and I thought it was a css effect, but now I'm not so sure.[/QUOTE]


I assume it's done with JS since there is no valid way to get that with CSS alone (possibly with some proprietary MS-CSS-X).

Anyway, to get such an effect that works crossbrowser you simply make a Javascript change the color of a link from an array of preselected colors while the link is onmouseover.
Copy linkTweet thisAlerts:
@ChocoboJoeauthorDec 08.2002 — Well, I guess I posted this in the wrong forum then. Sorry guys, but thanks for your help. It's greatly appreciated!

Matt

PS...I know it's in the wrong forum, but I don't suppose you could tell me how to use the .js file? :-/
×

Success!

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