1) CODE TITLE: Cross Browser Image Fader
2) AUTHOR NAME/NOTES: John Davenport Scheuer (jscheuer1)
3) DESCRIPTION: A very easy to use image fader. No knowledge of opacity styles or filters required. The script determines what the browser supports and writes the style on the fly. All you need to configure is an array of the image's id's and initial opacities, ex:
Works in all browsers that support any type of opacity style or filter.Code:var faders=[]; // Preset each image's initial opacity (0 to 100): // ex: faders[x]=['image_id', initial_opacity]; faders[0]=['mona', 50]; faders[1]=['arch', 0];
Syntax:
Opacity, increment, and interval are optional.Code:fade(image_element_OR_'image_id', 'in_OR_out', target_opacity, opacity_increment, timeout_interval)
4) URL TO CODE: http://home.comcast.net/~jscheuer1/s...eset_write.htm







) and for some obscure reason, more recent (and some older) versions of FF randomly hang my connection. I don't have this issue with IE or this crappy Yahoo browser (but who wants to use those?).
Bookmarks