| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
i do lines
Join Date: Mar 2003
Location: Poland/Denmark
Posts: 3,233
|
fading bg colour using css???
is it possible to make bg colour fade from one colour to another using css? (eg on mouse over?) I tried to do a search but nothing... only a note somewhere on ww3. Is it simple to do? I suck at code Any examples? ...
|
|
|
|
|
|
#4 (permalink) |
|
I Ain't Losing Any Sleep™
Join Date: Apr 2003
Posts: 5,236
|
It would have to be done using the DOM if it could at all. What would you be using it for? A document background or the background of a cell for a link? That's fuckin' ingenious, if I understand it correctly. It's a Swiss fuckin' watch.
|
|
|
|
#6 (permalink) |
|
trouble free and loverlee
Join Date: Mar 2003
Location: YooKay
Posts: 2,880
|
I'm sure I saw something to that effect on one of the many javascript 'trick' script pools. I ws checking to see if things had improved or whether they were still filled with useless little ooh-aah trinkets. Shouldn't be too hard to find (unfortunately). Check the usual suspects. It was for the entire body background, but it shouldn't be hard to adapt it to add a tacky 1995 effect to your 1997 table in your 2001 floating layer. |
|
|
|
#7 (permalink) |
|
i do lines
Join Date: Mar 2003
Location: Poland/Denmark
Posts: 3,233
|
lol I want the effect for a menu. ...the alternative option would be to do the whole thing in flash - but I just wanna stay away from using flash for navigation. 'not advisable' Thought css would be 2003 - that's why I asked. ...
|
|
|
|
#8 (permalink) | |
|
volkswagen yellow & gold
Join Date: Apr 2003
Location: london, england.
Posts: 6,214
|
Quote:
lol i think it can be done but i've not got time to look into it right now. the keyword here is 'fade' yeah? |
|
|
|
|
#10 (permalink) | |
|
i do lines
Join Date: Mar 2003
Location: Poland/Denmark
Posts: 3,233
|
Quote:
haven't tried it yet though. but that should work shouldn't it? the only problem might be the actual quality of the display - I want the row to be 100% width. Even if only 1x1 px gifs - we're talking quite a few of those animating 'simultaneously' ...
|
|
|
|
|
#12 (permalink) |
|
volkswagen yellow & gold
Join Date: Apr 2003
Location: london, england.
Posts: 6,214
|
on a similar tip - www.pixeljam.com |
|
|
|
#20 (permalink) |
|
i do lines
Join Date: Mar 2003
Location: Poland/Denmark
Posts: 3,233
|
have a question about this: onmouseover="this.style.backgroundColor='#FF3300'; " onmouseout="this.style.backgroundColor='#666666';" ...is it possible to have NO background on mouse out? something like 'restore'...? no background colour...? what is the correct value to put in the quotes? (soon I'll start posting all those questions under a new thread called "dorian's embarrassingly naive enquiries") ...
|
|
![]() |