Sent by Rick den Haan on 9 October 2008 23:11
Hi Del,
> In the past I have used JavaScript and revealTrans to obtain desired
> transition effects when swapping images. This works only in IE.
> Is there a purely css method to obtain the same (or similar) effects and
> which works in most browsers.
> Check the business cards on
> http://www.nace-philapa.org/
> The effects only work in IE. That's the problem.
This is somewhat off-topic. CSS handles the appearance of your page, but is
not capable of producing animations. You will still require JavaScript for
that.
I'd never heard of revealTrans, but from your code I learned that it is a
CSS filter. These are proprietary Microsoft extensions to CSS, which is why
they will only work in IE. If you want to make sure your animations work
cross-browser, I recommend using a JavaScript library with animation
support, e.g. script.aculo.us or mootools or something similar.
Which particular library to choose would start a long debate that would most
certainly be off-topic on this CSS-only mailing list, so I won't go there.
HTH,
Rick.
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/