PDA

View Full Version : fading image into background - not anime


umniza
04-15-2003, 05:44 AM
hi, this is probably an easy one for all of you, but i've been searching the web for a java script to "fade the edges of an image into the background", ie I am not looking for an animation that literally fades image in and out of view, but just a way to make image's edges fade into the background (no any kind of animation), and what if the background is not white?
here is an example, but looking at the source, i cant see from the top of my head how it's working... [/IMG] :confused:

[IMG]http://www.ransen.com/Repligator/webfade.htm

Spudhead
04-15-2003, 09:18 AM
That sort of effect isn't done with scripting - it's a graphics effect applied to the image itself. It's fairly easy to do in Photoshop (should you have several hundred quid laying around) or one of any number of less expensive graphics programs.

Mhtml
04-15-2003, 10:37 AM
Like spud said, you can also find some cheaper or free programs @ www.tucows.com ... I believe the Gimp is free and supposedly free if I remember correctly.

OR you can ask in our graphics forum .. someone will help you I bet. :)

ionsurge
04-15-2003, 10:50 AM
This is more of a graphics question, where you would just change the opacity of the edges, using something like Adobe Photoshop, or PSP, etc.

Or you could try making it a transparent background with a levelled opacity using .css after cutting it up in slices. That would work too.

Have fun!


:)

Spudhead
04-15-2003, 03:04 PM
try making it a transparent background with a levelled opacity using .css after cutting it up in slices.

lol - there's always one.... :rolleyes: :thumbsup: