Closed Thread Icon

Preserved Topic: Fading Buttons (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=18560" title="Pages that link to Preserved Topic: Fading Buttons (Page 1 of 1)" rel="nofollow" >Preserved Topic: Fading Buttons <span class="small">(Page 1 of 1)</span>\

 
KARN
Bipolar (III) Inmate

From: North Bay, Ontario, CA
Insane since: Apr 2001

posted posted 05-05-2002 01:29

this is what i have:

<script language="JavaScript">
function pick(obj) {
obj.filters.alpha.opacity=100;
obj.filters.gray.enabled=false;
}
function unpick(obj) {
obj.filters.alpha.opacity=70;
obj.filters.gray.enabled=true;
}
function window_open(filename, x, y)
{
windowops = eval("'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width=" + x + ",height=" + y + "'");
window.open(filename, 'New1', windowops);
return;
}
</script>

is it possible to make it fading slowly into color

Schitzoboy
Paranoid (IV) Inmate

From: Yes
Insane since: Feb 2001

posted posted 05-05-2002 03:37

If you mean fade into a color other than the background I think so. Try setting the background-color property on the divs or images that you want to fade. You could also try putting a one color image behind your images. These are just guesses.

KARN
Bipolar (III) Inmate

From: North Bay, Ontario, CA
Insane since: Apr 2001

posted posted 05-05-2002 03:46

it's function right now is to be grey and when hover it goes back to normal colors of the image... i want it to fade into the normal color instead just changing to the normal color

Schitzoboy
Paranoid (IV) Inmate

From: Yes
Insane since: Feb 2001

posted posted 05-05-2002 04:00

in that case this is what you need I think: http://www.dynamicdrive.com/dynamicindex4/highlightgrad2.htm

I have this same script running on my art and links pages too. Click my sig to check 'em out.

KARN
Bipolar (III) Inmate

From: North Bay, Ontario, CA
Insane since: Apr 2001

posted posted 05-05-2002 04:04

but it doesn't change the image to grey and then fade into it's original colors

Schitzoboy
Paranoid (IV) Inmate

From: Yes
Insane since: Feb 2001

posted posted 05-05-2002 04:16

well if it had something gray behind it it would. And image or Div or something. Or perhaps you could figure a way to combine your script with theirs. I'm not really a Java Script wiz., but i'm sure there has gotta be a useful snipper in there somewhere.

KARN
Bipolar (III) Inmate

From: North Bay, Ontario, CA
Insane since: Apr 2001

posted posted 05-05-2002 04:34

i'm not good with java... i did try combining tho... it keeps not working...

RoyW
Bipolar (III) Inmate

From:
Insane since: Aug 2001

posted posted 05-06-2002 15:34

Check out this link.
Fading Rollovers
You would require 2 images (the B&W one and the color one) which is different from the example you gave which just used the IE filter property. You can fade gradually in IE but you cannot change the B&W filter gradually, it is either ON or OFF.
I have recently put up a tutorial on how to create fading rollovers and would appreciate any feedback.
Creatw Fading Rollovers

« BackwardsOnwards »

Show Forum Drop Down Menu